diff --git a/androidApp/build.gradle.kts b/androidApp/build.gradle.kts index 5c1da2f..478d6a5 100644 --- a/androidApp/build.gradle.kts +++ b/androidApp/build.gradle.kts @@ -29,10 +29,10 @@ android { versionName = "1.0" } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlin { - jvmToolchain(11) + jvmToolchain(17) } } diff --git a/settings.gradle.kts b/settings.gradle.kts index 9342167..fe08032 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -27,6 +27,10 @@ pluginManagement { } } +plugins { + id("org.gradle.toolchains.foojay-resolver-convention") version("0.4.0") +} + dependencyResolutionManagement { repositories { mavenCentral() diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index fc07392..6c7ede6 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -59,10 +59,10 @@ android { minSdk = (findProperty("android.minSdk") as String).toInt() } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlin { - jvmToolchain(11) + jvmToolchain(17) } }