Skip to content

Commit

Permalink
Merge pull request #87 from joelkanyi/kotlin-2.0
Browse files Browse the repository at this point in the history
update to kotlin 2.0.0
  • Loading branch information
joelkanyi authored May 24, 2024
2 parents 3b06585 + 9c1cd21 commit 004a244
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
9 changes: 6 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ plugins {
alias(libs.plugins.hilt.android)
alias(libs.plugins.parcelize)
alias(libs.plugins.ksp)
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -76,9 +77,7 @@ android {
compose = true
buildConfig = true
}
composeOptions {
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
}

sourceSets {
getByName("androidTest").assets.srcDirs(files("$rootDir/app/schemas")) // Room
}
Expand All @@ -90,6 +89,10 @@ android {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.ui)
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ plugins {
alias(libs.plugins.kapt) apply false
alias(libs.plugins.parcelize) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.compose.compiler) apply false
}

subprojects {
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[versions]
kotlin = "1.9.24"
ksp = "1.9.24-1.0.20"
kotlin = "2.0.0"
ksp = "2.0.0-1.0.21"
gradle = "8.2.2"
compose = "1.6.7"
material3 = "1.3.0-beta01"
compose-compiler = "1.5.14"
hiltAndroid = "2.51.1"
hiltCompiler = "1.2.0"
kotlinxCoroutinesAndroid = "1.8.1"
Expand Down Expand Up @@ -88,3 +87,4 @@ spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
google-services = { id = "com.google.gms.google-services", version.ref = "google-services" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }

0 comments on commit 004a244

Please # to comment.