From 8d3d6c581c3607dfbe6f4f2498ec552ffe1f2693 Mon Sep 17 00:00:00 2001 From: hsg Date: Sun, 22 Sep 2024 19:08:03 +0800 Subject: [PATCH] upgrade Java to 17 --- app/build.gradle.kts | 6 +++--- library/build.gradle.kts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 040cacb..7bee28d 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -39,11 +39,11 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = "11" + jvmTarget = "17" } buildFeatures { viewBinding = true diff --git a/library/build.gradle.kts b/library/build.gradle.kts index 7c899a0..7f5885d 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -41,11 +41,11 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = "11" + jvmTarget = "17" } composeOptions { kotlinCompilerExtensionVersion = "1.5.1"