Skip to content

Commit

Permalink
Update Kotlin: 1.9.10 -> 1.9.25
Browse files Browse the repository at this point in the history
Also
1. Remove explicit stdlib dependencies: they are included by kotlin gradle
plugin anyways
2. Update compose compiler to a compatible version

Note:
It's possible to build the project with JDK = 21 now, which is shipped with
Android Studio Ladybug.
  • Loading branch information
Sergey-Makarov committed Dec 5, 2024
1 parent 73b954d commit a513d73
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,12 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = "1.5.3"
kotlinCompilerExtensionVersion = "1.5.15"
}
}

dependencies {
implementation(project(":fingerprint"))
implementation("org.jetbrains.kotlin:kotlin-stdlib:${Constants.kotlinVersion}")
implementation("com.google.android.material:material:1.9.0")
implementation("androidx.core:core-ktx:1.10.0")
implementation("androidx.appcompat:appcompat:1.6.1")
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Constants.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
object Constants {
const val kotlinVersion = "1.9.10"
const val kotlinVersion = "1.9.25"
}
1 change: 0 additions & 1 deletion fingerprint/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class.java) {
}

dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib:${Constants.kotlinVersion}")
implementation("androidx.appcompat:appcompat:1.6.1")
testImplementation("junit:junit:4.13.2")
testImplementation("io.mockk:mockk:1.12.8")
Expand Down

0 comments on commit a513d73

Please sign in to comment.