Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
alias(libs.plugins.jetbrains.kotlin.android)
alias(libs.plugins.kotlin.kapt)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.compose.compiler)
Copy link
Collaborator

@psh psh Nov 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Google's own migration doc says to also add a line to the top-level gradle file (in addition to the app folder one) -

    alias(libs.plugins.compose.compiler) apply false

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @psh for checking this, I didn't get a chance to review this further. @copilot could you check the above suggestion?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in commit 862d898. Added alias(libs.plugins.compose.compiler) apply false to the top-level build.gradle.kts file as per Google's Compose migration documentation.

}

apply(from = "$rootDir/jacoco.gradle")
Expand Down Expand Up @@ -182,9 +183,6 @@ android {
compose = true
}
buildToolsVersion = buildToolsVersion
composeOptions {
kotlinCompilerExtensionVersion = "1.5.8"
}
packaging {
jniLibs {
excludes += listOf("META-INF/androidx.*")
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ android.enableJetifier=true
android.jetifier.ignorelist=bcprov-jdk15on
android.nonTransitiveRClass=false
android.nonFinalResIds=false

# Enable K2 mode for KAPT (required for Kotlin 2.0+)
kapt.use.k2=true
5 changes: 3 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ glide = "4.12.0"
gson = "2.8.5"
junit = "4.13.2"
junitJupiter = "5.10.0"
kotlin = "1.9.22"
kotlin = "2.1.0"
kotlinStdlib = "1.8.0"
coroutines = "1.7.3"
leakcanary = "2.10"
Expand All @@ -58,7 +58,7 @@ recyclerview = "1.2.0-alpha02"
recyclerviewFastscroll = "2.0.1"
retrofit = "2.8.1"
robolectric = "4.14.1"
room = "2.6.1"
room = "2.7.0"
rules = "1.5.0"
runner = "1.5.2"
rxandroid = "2.1.0"
Expand Down Expand Up @@ -208,5 +208,6 @@ android-application = { id = "com.android.application", version.ref = "agp" }
jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-kapt = { id = "org.jetbrains.kotlin.kapt" }
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
github-triplet-play = { id = "com.github.triplet.play", version.ref = "githubTripletPlay" }
getkeepsafe-dexcount = { id = "com.getkeepsafe.dexcount", version.ref = "dexcount" }
Loading