diff --git a/buildSrc/src/main/kotlin/korlibs/korge/gradle/targets/android/Android.kt b/buildSrc/src/main/kotlin/korlibs/korge/gradle/targets/android/Android.kt index a4c3cb7ae..d2103e720 100644 --- a/buildSrc/src/main/kotlin/korlibs/korge/gradle/targets/android/Android.kt +++ b/buildSrc/src/main/kotlin/korlibs/korge/gradle/targets/android/Android.kt @@ -153,9 +153,10 @@ const val ANDROID_DEFAULT_COMPILE_SDK = 33 const val ANDROID_DEFAULT_TARGET_SDK = 33 //val GRADLE_JAVA_VERSION_STR = "11" -val GRADLE_JAVA_VERSION_STR = "17" +val GRADLE_JAVA_VERSION_STR = "21" -val ANDROID_JAVA_VERSION = JavaVersion.VERSION_1_8 +//val ANDROID_JAVA_VERSION = JavaVersion.VERSION_1_8 //val ANDROID_JAVA_VERSION = JavaVersion.VERSION_11 +val ANDROID_JAVA_VERSION = JavaVersion.VERSION_21 val ANDROID_JAVA_VERSION_STR = ANDROID_JAVA_VERSION.toString() val ANDROID_JVM_TARGET = JvmTarget.fromTarget(ANDROID_JAVA_VERSION_STR)