- Use Kotlin 2.2.0, KSP 2.2.0-2.0.2, Compose Multiplatform 1.8.2 to match transitive dependencies compiled with Kotlin metadata 2.3.0. - Add root resolutionStrategy force for kotlin-stdlib 2.1.20/2.1.20 variants to keep runtime consistent while compiler reads 2.3.0 metadata. - Baseline ':app:assembleOssDebug' now passes, APK ~80 MB.
74 lines
4.3 KiB
TOML
74 lines
4.3 KiB
TOML
[versions]
|
|
agp = "8.9.2"
|
|
kotlin = "2.2.0"
|
|
coreKtx = "1.16.0"
|
|
junit = "4.13.2"
|
|
junitVersion = "1.2.1"
|
|
espressoCore = "3.6.1"
|
|
lifecycleRuntimeKtx = "2.9.0"
|
|
activityCompose = "1.10.1"
|
|
composeBom = "2025.05.00"
|
|
room = "2.7.1"
|
|
detektPlugin = "1.23.5"
|
|
koverPlugin = "0.9.1"
|
|
ktlintPlugin = "12.1.0"
|
|
jreleaserPlugin = "1.15.0"
|
|
kotlinxCoroutines = "1.8.1"
|
|
androidxCoreTesting = "2.2.0"
|
|
googleTruth = "1.4.2"
|
|
arrow = "1.2.1"
|
|
androidxAnnotationJvm = "1.9.1"
|
|
androidxTestRunner = "1.6.2"
|
|
material3WindowSizeClassAndroid = "1.3.2"
|
|
credentials = "1.5.0"
|
|
composeMultiplatform = "1.8.2"
|
|
ksp = "2.2.0-2.0.2"
|
|
|
|
[libraries]
|
|
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
|
|
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
|
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
|
|
androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
|
|
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
|
|
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
|
|
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
|
|
androidx-ui = { group = "androidx.compose.ui", name = "ui" }
|
|
androidx-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
|
|
androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
|
|
androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
|
|
androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
|
|
androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
|
|
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
|
|
|
|
androidx-room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "room" }
|
|
androidx-room-ktx = { group = "androidx.room", name = "room-ktx", version.ref = "room" }
|
|
androidx-room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = "room" }
|
|
|
|
# Add libraries required by pdfiumandroid and its submodules
|
|
androidx-core-testing = { module = "androidx.arch.core:core-testing", version.ref = "androidxCoreTesting" }
|
|
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinxCoroutines" }
|
|
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutines" }
|
|
truth = { module = "com.google.truth:truth", version.ref = "googleTruth" }
|
|
arrow-core = { module = "io.arrow-kt:arrow-core", version.ref = "arrow" }
|
|
arrow-fx-coroutines = { module = "io.arrow-kt:arrow-fx-coroutines", version.ref = "arrow" }
|
|
androidx-annotation-jvm = { group = "androidx.annotation", name = "annotation-jvm", version.ref = "androidxAnnotationJvm" }
|
|
androidx-runner = { group = "androidx.test", name = "runner", version.ref = "androidxTestRunner" }
|
|
androidx-material3-window-size-class1-android = { group = "androidx.compose.material3", name = "material3-window-size-class-android", version.ref = "material3WindowSizeClassAndroid" }
|
|
androidx-credentials = { group = "androidx.credentials", name = "credentials", version.ref = "credentials" }
|
|
|
|
|
|
[plugins]
|
|
android-application = { id = "com.android.application", version.ref = "agp" }
|
|
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
|
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
|
|
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
kotlin-ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
|
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
|
compose-multiplatform = { id = "org.jetbrains.compose", version.ref = "composeMultiplatform" }
|
|
|
|
# Add plugins required by pdfiumandroid
|
|
android-library = { id = "com.android.library", version.ref = "agp" }
|
|
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detektPlugin" }
|
|
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "koverPlugin" }
|
|
ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlintPlugin" }
|
|
jreleaser = { id = "org.jreleaser", version.ref = "jreleaserPlugin" }
|