I want build android using gradle. In android.tools.build:gradle:0.9.2 work source() for sourcesets. But android.tools.build:gradle:0.11.+ (or higher) dosen`t work source().
Could not find method source() for arguments [[ src ]] on source set main.
why can`t use source() for gradle:0.+?
android {
sourceSets {
mysource {
java {
srcDir '...'
exclude '...'
}
}
main {
java {
srcDir '...'
source sourceSets.mysource.java
}
}
}
}
0 comments:
Post a Comment