diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 023e193..1c1766b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -54,7 +54,7 @@ android { } kotlinOptions { - jvmTarget = libs.versions.jvmTarget.get().toString() + jvmTarget = libs.versions.jvmTarget.get() } lint { diff --git a/compose-stable-marker/build.gradle.kts b/compose-stable-marker/build.gradle.kts index a4a5505..7bd2cab 100644 --- a/compose-stable-marker/build.gradle.kts +++ b/compose-stable-marker/build.gradle.kts @@ -17,6 +17,7 @@ import com.github.skydoves.Configuration @Suppress("DSL_SCOPE_VIOLATION") plugins { + id("java-library") id("kotlin") id(libs.plugins.dokka.get().pluginId) } @@ -29,6 +30,11 @@ rootProject.extra.apply { apply(from ="${rootDir}/scripts/publish-module.gradle") +java { + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 +} + tasks.withType { kotlinOptions.freeCompilerArgs += listOf( "-Xexplicit-api=strict" diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4abe172..83acda5 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,22 +1,22 @@ [versions] -kotlin = "1.9.0" -dokka = "1.8.20" +kotlin = "1.9.10" +dokka = "1.9.0" jvmTarget = "17" nexusPlugin = "1.3.0" kotlinxCoroutines = "1.7.2" kotlinxTime = "0.4.0" kotlinBinaryCompatibility = "0.13.2" -androidGradlePlugin = "8.0.2" +androidGradlePlugin = "8.1.2" androidxActivity = "1.7.2" androidxMaterial = "1.9.0" -androidxComposeBom = "2023.06.01" +androidxComposeBom = "2023.09.02" androidxComposeCompiler = "1.5.0" androidxComposeConstraintLayout = "1.0.1" -androidxCore = "1.10.1" +androidxCore = "1.12.0" androidxTestRunner = "1.5.2" androidxTestRules = "1.5.0" androidxJunit = "1.1.5" -androidxMacroBenchmark = "1.2.0-alpha13" +androidxMacroBenchmark = "1.2.0-rc01" androidxProfileinstaller = "1.3.1" androidxUiAutomator = "2.3.0-alpha02" spotless = "6.20.0"