Replace deprecated 'ANDROID_SDK_ROOT' with 'ANDROID_HOME'
This should allow to run build regression benchmarks that are using Android plugin.
This commit is contained in:
@@ -120,7 +120,7 @@ fun JavaExec.usesAndroidSdk() {
|
||||
dependsOn(acceptAndroidSdkLicenses)
|
||||
|
||||
doFirst {
|
||||
environment("ANDROID_SDK_ROOT", configurations["androidSdk"].singleFile.canonicalPath)
|
||||
environment("ANDROID_HOME", configurations["androidSdk"].singleFile.canonicalPath)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user