Suppose I have a build.gradle
thus:
dependencies {
compile 'com.group:some-app:1.0.1'
compile 'com.group:some-app:1.0.1:sources'
}
sourceSets {
main {
other {
srcDir 'src/main/other'
}
}
}
So some-app-1.0.1-sources.jar
has source files in it - not Java files, but files from which Java can be generated.
How do I include those files in sourceSets
?
InvalidUserDataException: Cannot change strategy of configuration ':sourceJar' after it has been resolved.
2)Expected configuration ':sourceJar' to contain exactly one file, however, it contains 18 files.
– Sigismondo