diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-05-03 00:49:47 +0530 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-05-03 00:49:47 +0530 |
commit | 1b5f4d6dfd5208755c7b9571cf5bf7e45bb49bca (patch) | |
tree | de167e84b54adf8a984994e434361e7dc23c3b89 /ui | |
parent | bed2f2e5d61ab8a4d3c0e4dabe6d60ffc3d1c1ec (diff) |
gradle: move JVM target up to 11
1.8 is being deprecated across the board
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
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 087c5d70..10968ec1 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_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 isCoreLibraryDesugaringEnabled = true } buildTypes { @@ -78,5 +78,5 @@ tasks.withType<JavaCompile>().configureEach { } tasks.withType<KotlinCompile>().configureEach { - kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString() + kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString() } |