Rewrite android sdk dependencies to avoid config-time tasks execution
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
febab82c7e
commit
46be5e25be
@@ -87,7 +87,9 @@ tasks.withType(Test) {
|
||||
if (mavenLocalRepo != null) {
|
||||
systemProperty("maven.repo.local", mavenLocalRepo)
|
||||
}
|
||||
systemProperty("android.sdk", project.configurations["androidSdk"].singleFile.getCanonicalPath())
|
||||
doFirst {
|
||||
systemProperty("android.sdk", project.configurations["androidSdk"].singleFile.getCanonicalPath())
|
||||
}
|
||||
|
||||
testLogging {
|
||||
// set options for log level LIFECYCLE
|
||||
|
||||
Reference in New Issue
Block a user