diff --git a/compose/app/build.gradle.kts b/compose/app/build.gradle.kts index 7df4377..e3b7978 100644 --- a/compose/app/build.gradle.kts +++ b/compose/app/build.gradle.kts @@ -41,6 +41,7 @@ android { ) } } + compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 @@ -55,6 +56,10 @@ android { abortOnError = true ignoreWarnings = false warningsAsErrors = true + + disable.apply { + add("ObsoleteLintCustomCheck") + } } buildFeatures { @@ -62,7 +67,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = "1.5.7" + kotlinCompilerExtensionVersion = "1.5.8" } } @@ -80,7 +85,7 @@ dependencies { implementation("androidx.compose.material:material:1.6.0") // compose - implementation(platform("androidx.compose:compose-bom:2023.03.00")) + implementation(platform("androidx.compose:compose-bom:2024.01.00")) implementation("androidx.compose.ui:ui") implementation("androidx.compose.ui:ui-graphics") implementation("androidx.compose.ui:ui-tooling-preview") diff --git a/compose/build.gradle.kts b/compose/build.gradle.kts index 6f11900..1618d0b 100644 --- a/compose/build.gradle.kts +++ b/compose/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("com.android.application") version "8.2.2" apply false id("com.android.library") version "8.2.2" apply false - id("org.jetbrains.kotlin.android") version "1.9.21" apply false + id("org.jetbrains.kotlin.android") version "1.9.22" apply false id("org.jlleitschuh.gradle.ktlint") version "12.0.3" apply false id("io.gitlab.arturbosch.detekt") version "1.23.4" apply false }