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:
Yahor Berdnikau
2022-05-23 17:02:08 +02:00
parent 290fda9c10
commit 28f359a3f0
@@ -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)
}
}