diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-05-03 14:01:05 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-05-03 14:01:05 +0200 |
commit | 4e28d57aeec36406be849f0017cdda508457b307 (patch) | |
tree | ae2ce3e76d242f4eda08cb787d27c38f2666784c /ui | |
parent | 6d67a3d5f5d6e9b4f5f22113255045ad74e62cf9 (diff) |
gradle: use Java 17
It appears to work, even on API 21.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/build.gradle.kts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts index 7164cf3d..67e7a12d 100644 --- a/ui/build.gradle.kts +++ b/ui/build.gradle.kts @@ -25,8 +25,8 @@ android { buildConfigField("int", "MIN_SDK_VERSION", minSdk.toString()) } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 isCoreLibraryDesugaringEnabled = true } buildTypes { @@ -78,5 +78,5 @@ tasks.withType<JavaCompile>().configureEach { } tasks.withType<KotlinCompile>().configureEach { - compilerOptions.jvmTarget.set(JvmTarget.JVM_11) + compilerOptions.jvmTarget.set(JvmTarget.JVM_17) } |