How do I add a subdirectory of the user home to the classpath in Gradle?
I am creating a CLI application in Kotlin with Gradle (Kotlin DSL) as the build system. The CLI will support plugins that will be loaded via ServiceLoader
. In order to do so, the plugins must be in the classpath, and I want users to be able to load their own plugins easily.