Merge pull request #1671 from SimonMarquis/patch-3

Check Java version compatibility
pull/1684/head
Don Turner 2 months ago committed by GitHub
commit ec0868cc02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -63,3 +63,11 @@ include(":lint")
include(":sync:work")
include(":sync:sync-test")
include(":ui-test-hilt-manifest")
check(JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
"""
Now in Android requires JDK 17+ but it is currently using JDK ${JavaVersion.current()}.
Java Home: [${System.getProperty("java.home")}]
https://developer.android.com/build/jdks#jdk-config-in-studio
""".trimIndent()
}

Loading…
Cancel
Save