diff --git a/filekit-coil/build.gradle.kts b/filekit-coil/build.gradle.kts index 9baa396..44384dc 100644 --- a/filekit-coil/build.gradle.kts +++ b/filekit-coil/build.gradle.kts @@ -19,7 +19,7 @@ kotlin { androidTarget { publishLibraryVariants("release") compilerOptions { - jvmTarget.set(JvmTarget.JVM_11) + jvmTarget.set(JvmTarget.JVM_17) } } @@ -88,4 +88,8 @@ android { defaultConfig { minSdk = libs.versions.android.minSdk.get().toInt() } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } } diff --git a/filekit-core/build.gradle.kts b/filekit-core/build.gradle.kts index aceb268..1a34851 100644 --- a/filekit-core/build.gradle.kts +++ b/filekit-core/build.gradle.kts @@ -17,7 +17,7 @@ kotlin { androidTarget { publishLibraryVariants("release") compilerOptions { - jvmTarget.set(JvmTarget.JVM_11) + jvmTarget.set(JvmTarget.JVM_17) } } @@ -99,4 +99,8 @@ android { defaultConfig { minSdk = libs.versions.android.minSdk.get().toInt() } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } } diff --git a/filekit-dialog-compose/build.gradle.kts b/filekit-dialog-compose/build.gradle.kts index 7e6ff85..d8adc92 100644 --- a/filekit-dialog-compose/build.gradle.kts +++ b/filekit-dialog-compose/build.gradle.kts @@ -19,7 +19,7 @@ kotlin { androidTarget { publishLibraryVariants("release") compilerOptions { - jvmTarget.set(JvmTarget.JVM_11) + jvmTarget.set(JvmTarget.JVM_17) } } @@ -105,4 +105,8 @@ android { defaultConfig { minSdk = libs.versions.android.minSdk.get().toInt() } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } } diff --git a/filekit-dialog/build.gradle.kts b/filekit-dialog/build.gradle.kts index e229fbf..8b7c121 100644 --- a/filekit-dialog/build.gradle.kts +++ b/filekit-dialog/build.gradle.kts @@ -18,7 +18,7 @@ kotlin { androidTarget { publishLibraryVariants("release") compilerOptions { - jvmTarget.set(JvmTarget.JVM_11) + jvmTarget.set(JvmTarget.JVM_17) } } @@ -108,4 +108,8 @@ android { defaultConfig { minSdk = libs.versions.android.minSdk.get().toInt() } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } } diff --git a/samples/sample-compose/composeApp/build.gradle.kts b/samples/sample-compose/composeApp/build.gradle.kts index 5b4ad79..e8f77bf 100644 --- a/samples/sample-compose/composeApp/build.gradle.kts +++ b/samples/sample-compose/composeApp/build.gradle.kts @@ -38,7 +38,7 @@ kotlin { androidTarget { compilerOptions { - jvmTarget.set(JvmTarget.JVM_11) + jvmTarget.set(JvmTarget.JVM_17) } } diff --git a/samples/sample-core/composeApp/build.gradle.kts b/samples/sample-core/composeApp/build.gradle.kts index 38180be..acefdde 100644 --- a/samples/sample-core/composeApp/build.gradle.kts +++ b/samples/sample-core/composeApp/build.gradle.kts @@ -15,7 +15,7 @@ kotlin { androidTarget { compilerOptions { - jvmTarget.set(JvmTarget.JVM_11) + jvmTarget.set(JvmTarget.JVM_17) } } diff --git a/samples/sample-core/shared/build.gradle.kts b/samples/sample-core/shared/build.gradle.kts index dcc589e..0091ae4 100644 --- a/samples/sample-core/shared/build.gradle.kts +++ b/samples/sample-core/shared/build.gradle.kts @@ -13,7 +13,7 @@ kotlin { // Android androidTarget { compilerOptions { - jvmTarget.set(JvmTarget.JVM_11) + jvmTarget.set(JvmTarget.JVM_17) } } @@ -72,4 +72,8 @@ android { defaultConfig { minSdk = libs.versions.android.minSdk.get().toInt() } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } }