Skip to content

Commit

Permalink
Update kotlin version (#180)
Browse files Browse the repository at this point in the history
Apparently the compose compiler is configured via a plugin now, which
means the compatibility issues with the kotlin version don't apply
anymore.
  • Loading branch information
chvp authored Oct 5, 2024
1 parent 95fd65c commit 9f986bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
alias(libs.plugins.androidApplication)
alias(libs.plugins.composeCompiler)
alias(libs.plugins.kotlinAndroid)
alias(libs.plugins.ktlint)
alias(libs.plugins.ksp)
Expand Down Expand Up @@ -64,9 +65,6 @@ android {
compose = true
viewBinding = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.15"
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
alias(libs.plugins.androidApplication) apply false
alias(libs.plugins.composeCompiler) apply false
alias(libs.plugins.kotlinAndroid) apply false
alias(libs.plugins.ktlint) apply false
alias(libs.plugins.ksp) apply false
Expand Down
5 changes: 3 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
agp = "8.7.0"
kotlin = "1.9.25"
ksp = "1.9.25-1.0.20"
kotlin = "2.0.20"
ksp = "2.0.20-1.0.25"
hilt = "2.52"
core-ktx = "1.13.1"
junit = "4.13.2"
Expand Down Expand Up @@ -38,6 +38,7 @@ material = { group = "com.google.android.material", name = "material", version.r

[plugins]
androidApplication = { id = "com.android.application", version.ref = "agp" }
composeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
kotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt"}
Expand Down

0 comments on commit 9f986bb

Please sign in to comment.