From dafcff2c8a582b42053919ed3a880c34289856f5 Mon Sep 17 00:00:00 2001 From: Kgothatso Ngako Date: Fri, 20 Nov 2026 14:02:37 +0200 Subject: [PATCH] build: the catalogue entries nothing reads (dependency-update, Phase 1) Eight libraries, the sqldelight plugin alias and six version keys that no build script references, and the commented-out lines that named them or Room 2's aliases. The jvm, debug and release runtime graphs are identical to Phase 0's. Co-Authored-By: Claude Opus 5.5 --- composeApp/build.gradle.kts | 6 ------ docs/dependency-update.md | 1 + gradle/libs.versions.toml | 15 --------------- 3 files changed, 1 insertion(+), 21 deletions(-) diff --git a/composeApp/build.gradle.kts b/composeApp/build.gradle.kts index fa901729..1be445a7 100644 --- a/composeApp/build.gradle.kts +++ b/composeApp/build.gradle.kts @@ -3,7 +3,6 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { alias(libs.plugins.androidApplication) -// alias(libs.plugins.androidx.room) alias(libs.plugins.androidx.room3) alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.composeMultiplatform) @@ -64,7 +63,6 @@ kotlin { implementation("fr.acinq.secp256k1:secp256k1-kmp-jni-android:0.24.0") implementation(libs.androidx.activity.compose) -// implementation(libs.androidx.room.sqlite.wrapper) implementation(libs.compose.uiToolingPreview) implementation(libs.sqldelight.android.driver) @@ -76,7 +74,6 @@ kotlin { implementation(libs.androidx.lifecycle.viewmodelCompose) implementation(libs.androidx.lifecycle.runtimeCompose) -// implementation(libs.androidx.room.runtime) implementation(libs.androidx.room3.runtime) implementation(libs.androidx.sqlite.bundled) @@ -109,7 +106,6 @@ kotlin { -// implementation(libs.lightning.kmp.core) // resolved via the lightning-kmp-app composite build (see settings.gradle.kts) implementation("fr.acinq.phoenix:lightning-kmp-app:1.0.0") @@ -275,13 +271,11 @@ android { dependencies { debugImplementation(libs.compose.uiTooling) -// ksp(libs.androidx.room3.compiler) add("kspAndroid", libs.androidx.room3.compiler) // These configurations only exist when the ios targets are declared, which the kotlin block // above does only on a mac. if (org.gradle.internal.os.OperatingSystem.current().isMacOsX) { add("kspIosSimulatorArm64", libs.androidx.room3.compiler) -// add("kspIosX64", libs.androidx.room.compiler) add("kspIosArm64", libs.androidx.room3.compiler) } add("kspJvm", libs.androidx.room3.compiler) diff --git a/docs/dependency-update.md b/docs/dependency-update.md index f24ab8bd..199df81b 100644 --- a/docs/dependency-update.md +++ b/docs/dependency-update.md @@ -31,6 +31,7 @@ records what it turned out to be in the results table below. | phase | result | |---|---| | 0 | the baseline, at `25f14aa4`. `check` green. `jvmTest` 1,407 run, 0 failed, 0 skipped, 182 classes; `testDebugUnitTest` 529 run, 0 failed, 65 classes. `m3-audit`: every budget 0, adaptive APIs **12 against a floor of 12**, navigation components 2 against 2. Resolved graphs: 277 coordinates on `jvmRuntimeClasspath`, 342 on `debugRuntimeClasspath`, 336 on `releaseRuntimeClasspath`. The newest versions were as the tables below say. The build's own warnings are AGP 9's seven deprecated opt-out flags in `gradle.properties` (each "removed in version 10.0"), the obsolete `applicationVariants` API, Kotlin's deprecation of KMP beside `com.android.application`, and three Gradle 10 deprecations (`by getting`, `by registering`), all of them in the composite's scripts rather than Giza's | +| 1 | built. Eight library entries, the `sqldelight` plugin alias and six version keys removed, with the six commented-out lines in `composeApp/build.gradle.kts` that named them or Room 2's aliases. All three resolved graphs are identical to Phase 0's, line for line. `check` green | | phase | what it is | rough size | |---|---|---| diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2b27ead2..5abc8170 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,11 +4,7 @@ android-compileSdk = "37" android-minSdk = "26" android-targetSdk = "37" androidx-activity = "1.13.0" -androidx-appcompat = "1.8.0" -androidx-core = "1.19.0" -androidx-espresso = "3.7.0" androidx-lifecycle = "2.11.0" -androidx-testExt = "1.3.0" coilCompose = "3.5.0" composeHotReload = "1.2.0" composeMultiplatform = "1.11.1" @@ -23,7 +19,6 @@ composeMultiplatform = "1.11.1" # catalog is the resolved graph. docs/quartz-mls-marmot-update.md, D3. cryptoKmp = { strictly = "2.1.1" } datastorePreferences = "1.2.1" -junit = "4.13.2" kermit = "2.1.0" kotlin = "2.4.10" kotlinx-coroutines = "1.11.0" @@ -31,7 +26,6 @@ kotlinx-datetime = "0.8.0" kotlinxSerialization = "1.11.0" ksp = "2.3.6" ktor = "3.5.2" -lightningKmpCore = "1.11.5" # Marmot (MIP-00..05), the three processors, convergence, the publish gate, the app # components and the KeyPackage managers (vitorpamplona/marmot-kmp). This is quartz's # former `marmot` package: 2.3.0 dropped the engine and kept only the event classes. @@ -65,18 +59,12 @@ sqldelight = "2.3.2" sqlite = "2.7.0" [libraries] -androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidx-core" } -androidx-testExt-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-testExt" } -androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidx-espresso" } -androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" } androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity" } androidx-datastore = { module = "androidx.datastore:datastore", version.ref = "datastorePreferences" } androidx-datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "datastorePreferences" } androidx-sqlite-bundled = { module = "androidx.sqlite:sqlite-bundled", version.ref = "sqlite" } -androidx-sqlite-bundled-jvm = { module = "androidx.sqlite:sqlite-bundled-jvm", version.ref = "sqlite" } androidx-room3-runtime = { module = "androidx.room3:room3-runtime", version.ref = "room3" } androidx-room3-compiler = { module = "androidx.room3:room3-compiler", version.ref = "room3" } -androidx-room3-sqlite-wrapper = { module = "androidx.room3:room3-sqlite-wrapper", version.ref = "room3" } androidx-lifecycle-viewmodelCompose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "androidx-lifecycle" } androidx-lifecycle-runtimeCompose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose", version.ref = "androidx-lifecycle" } coil-compose = { module = "io.coil-kt.coil3:coil-compose", version.ref = "coilCompose" } @@ -94,7 +82,6 @@ compose-material-icons-extended = { module = "org.jetbrains.compose.material:mat compose-ui = { module = "org.jetbrains.compose.ui:ui", version.ref = "composeMultiplatform" } compose-uiTooling = { module = "org.jetbrains.compose.ui:ui-tooling", version.ref = "composeMultiplatform" } compose-uiToolingPreview = { module = "org.jetbrains.compose.ui:ui-tooling-preview", version.ref = "composeMultiplatform" } -junit = { module = "junit:junit", version.ref = "junit" } kermit = { module = "co.touchlab:kermit", version.ref = "kermit" } kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" } kotlin-testJunit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" } @@ -108,7 +95,6 @@ ktor-client-cio = { module = "io.ktor:ktor-client-cio", version.ref = "ktor" } ktor-client-darwin = { module = "io.ktor:ktor-client-darwin", version.ref = "ktor" } ktor-client-websockets = { module = "io.ktor:ktor-client-websockets", version.ref = "ktor" } ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" } -lightning-kmp-core = { module = "fr.acinq.lightning:lightning-kmp-core", version.ref = "lightningKmpCore" } navigation-compose = { module = "org.jetbrains.androidx.navigation:navigation-compose", version.ref = "navigationCompose" } okio = { module = "com.squareup.okio:okio", version.ref = "okio" } qrose = { module = "io.github.alexzhirkevich:qrose", version.ref = "qrose" } @@ -132,4 +118,3 @@ composeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "k kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } kotlinPluginSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } -sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" } \ No newline at end of file