I tried to execute the gradle task for lib1 lib module in an Android Studio project. It should work with the "gradlew assembleDebug" or "gralew assembly" command, but it never starts.
task copy(type: Copy, dependsOn: ':lib1:assembleDebug') << {
println "copying"
}
I tried a simpler task without dependency and it never starts.
task hello << {
println 'hello world'
}
This is done, but only in the configuration phase.
task hello {
println 'hello world'
}
I need to get a copy to work at runtime after building the library module. Any clues what to do?
source
share