From 8d655e6ca4d18b9680cf534de056dbf3b7c040b2 Mon Sep 17 00:00:00 2001 From: Yogesh Choudhary Paliyal Date: Sun, 19 May 2024 14:41:59 +0530 Subject: [PATCH] Kotlin bump (#851) * feat: enable lint error * feat: Kotlin Bump * feat: kotlin compose compatibility upgrade --- app/build.gradle.kts | 2 +- build.gradle.kts | 2 +- buildSrc/src/main/kotlin/Versions.kt | 2 +- gradle.properties | 2 +- shared/build.gradle.kts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index af19d796..223f14b8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -73,7 +73,7 @@ android { composeOptions { - kotlinCompilerExtensionVersion = "1.4.4" + kotlinCompilerExtensionVersion = "1.5.13" } packagingOptions { resources { diff --git a/build.gradle.kts b/build.gradle.kts index 6ae67a9a..b742f370 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -23,7 +23,7 @@ plugins { kotlin("android") version("1.8.0") apply false id("com.android.application") version("7.4.2") apply false id("com.android.library") version("7.4.2") apply false - id("org.jetbrains.compose") version "1.6.2" apply false + id("org.jetbrains.compose") version "1.6.1" apply false id ("com.diffplug.spotless") version("6.18.0") id("org.jetbrains.kotlin.kapt") version(Versions.kotlin) id("com.google.dagger.hilt.android") version ("2.51.1") apply false diff --git a/buildSrc/src/main/kotlin/Versions.kt b/buildSrc/src/main/kotlin/Versions.kt index a4b55ea8..9e6cc5d1 100644 --- a/buildSrc/src/main/kotlin/Versions.kt +++ b/buildSrc/src/main/kotlin/Versions.kt @@ -1,5 +1,5 @@ object Versions { - const val kotlin = "1.8.10" + const val kotlin = "1.9.23" const val lifecycle = "2.6.1" const val room = "2.5.2" const val navigation = "2.5.3" diff --git a/gradle.properties b/gradle.properties index 9f194de8..9c7b4b31 100644 --- a/gradle.properties +++ b/gradle.properties @@ -21,7 +21,7 @@ kotlin.code.style=official android.enableR8.fullMode=true -kotlin.native.enableDependencyPropagation=false +#kotlin.native.enableDependencyPropagation=false android.defaults.buildfeatures.buildconfig=true android.nonTransitiveRClass=false android.nonFinalResIds=false diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index 3470c46e..7980adb5 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -29,7 +29,7 @@ kotlin { api("androidx.core:core-ktx:1.13.1") } } - val androidTest by getting { + val androidUnitTest by getting { dependencies { implementation("junit:junit:4.13.2") }