Skip to content

Commit

Permalink
Upgraded Kotlin to 2.0.0 and KSP to 1.0.22 (#368)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnau Mora Gras <[email protected]>
  • Loading branch information
ArnyminerZ authored Jul 29, 2024
1 parent 7036ce5 commit 7bc1643
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import com.mikepenz.aboutlibraries.plugin.DuplicateMode
plugins {
alias(libs.plugins.aboutLibs)
alias(libs.plugins.android.application)
alias(libs.plugins.compose.compiler)
alias(libs.plugins.kapt)
alias(libs.plugins.kotlin)
alias(libs.plugins.ksp)
Expand Down Expand Up @@ -44,10 +45,6 @@ android {
viewBinding = true
}

composeOptions {
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
}

flavorDimensions += "distribution"
productFlavors {
create("standard") {}
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
plugins {
alias(libs.plugins.aboutLibs) apply false
alias(libs.plugins.android.application) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.kapt) apply false
alias(libs.plugins.kotlin) apply false
alias(libs.plugins.ksp) apply false
Expand Down
7 changes: 3 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ bitfire-ical4android = "821ab3f"
commons-io = "2.6"
#noinspection GradleDependency
commons-lang3 = "3.8.1"
# Keep in sync with Kotlin version: https://developer.android.com/jetpack/androidx/releases/compose-kotlin
compose-compiler = "1.5.14"
compose-dialogs = "1.3.0"
compose-material = "1.6.8"
compose-material3 = "1.2.1"
Expand All @@ -26,9 +24,9 @@ compose-ui = "1.6.8"
desugaring = "2.0.4"
joda-time = "2.12.7"
junit = "4.13.2"
kotlin = "1.9.24"
kotlin = "2.0.0"
kotlinx-coroutines = "1.8.1"
ksp = "1.9.24-1.0.20"
ksp = "2.0.0-1.0.22"
okhttp = "4.12.0"
room = "2.6.1"

Expand Down Expand Up @@ -71,6 +69,7 @@ room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
[plugins]
aboutLibs = { id = "com.mikepenz.aboutlibraries.plugin", version.ref = "aboutLibs" }
android-application = { id = "com.android.application", version.ref = "agp" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }

0 comments on commit 7bc1643

Please sign in to comment.