Skip to content

Commit

Permalink
Try Java version 21 (#2293)
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz authored Sep 15, 2024
1 parent b839b20 commit 1a56500
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 1a56500

Please sign in to comment.