Skip to content

Commit 1bb5fee

Browse files
authored
Use modern env var for Android detection (#1537)
1 parent 6bcd3cf commit 1bb5fee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

settings.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ include(":samples")
1818

1919
// The Android test module doesn't work in IntelliJ. Use Android Studio or the command line.
2020
if (System.getProperties().containsKey("android.injected.invoked.from.ide") ||
21-
System.getenv("ANDROID_SDK_ROOT") != null) {
21+
System.getenv("ANDROID_HOME") != null) {
2222
include(":android-test")
2323
}
2424

0 commit comments

Comments
 (0)