Top "Source-sets" questions

A concept used by the Gradle build system, to divide the source code into parts for which the build process can be configured separately.

How do I add a new sourceset to Gradle?

I want to add integration tests to my Gradle build (Version 1.0). They should run separately from my normal tests because …

java gradle build integration-testing source-sets
Gradle flavors for android with custom source sets - what should the gradle files look like?

I've got an old eclipse project I've moved into android studio and setup to use flavors. It seemed to be …

android gradle android-studio source-sets
Android gradle buildTypes: Duplicate class

I'm converting my app to use gradle, and I'm trying to use the buildTypes. I have a Constants class which …

android build gradle source-sets
Gradle: custom source set as dependency for the main and test ones

I've created custom source set in Gradle project to keep all generated code: sourceSets { generated { java { srcDir 'src/generated/java' } …

java gradle classpath source-sets