I’m not using any of the Gradle JVM language plugins (groovy, java, scala, etc.)… and the only plugin I apply to the project is the Base plugin.
What’s the best way to add one or more sourceSets to my project?
I’m not using any of the Gradle JVM language plugins (groovy, java, scala, etc.)… and the only plugin I apply to the project is the Base plugin.
What’s the best way to add one or more sourceSets to my project?
The SourceSet
concept is added by the java-base
plugin. At the moment you’ll have to apply this plugin. In the long run SourceSets will become a more general concept.
Thanks Benjamin. Nice to hear that the roadmap has them as a core concept.