Skip to content

Commit e0ccf4d

Browse files
CopilotGoooler
andauthored
Clean up version catalog
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Goooler <10363352+Goooler@users.noreply.github.com> Co-authored-by: Goooler <wangzongler@gmail.com>
1 parent 7fd6c0f commit e0ccf4d

File tree

4 files changed

+27
-43
lines changed

4 files changed

+27
-43
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@ dependencies {
1818

1919
implementation(libs.kotlin.coroutine)
2020
implementation(libs.androidx.core)
21-
implementation(libs.androidx.activity)
21+
implementation(libs.androidx.activity.ktx)
2222
implementation(libs.androidx.fragment)
2323
implementation(libs.androidx.appcompat)
2424
implementation(libs.androidx.coordinator)
2525
implementation(libs.androidx.recyclerview)
2626
implementation(libs.google.material)
2727
implementation(libs.quickie.bundled)
28-
implementation(libs.androidx.activity.ktx)
2928
}
3029

3130
tasks.getByName("clean", type = Delete::class) {
@@ -68,4 +67,4 @@ afterEvaluate {
6867

6968
tasks.getByName("clean", type = Delete::class) {
7069
delete(file(geoFilesDownloadDir))
71-
}
70+
}

design/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies {
1212
implementation(libs.kotlin.coroutine)
1313
implementation(libs.androidx.core)
1414
implementation(libs.androidx.appcompat)
15-
implementation(libs.androidx.activity)
15+
implementation(libs.androidx.activity.ktx)
1616
implementation(libs.androidx.coordinator)
1717
implementation(libs.androidx.recyclerview)
1818
implementation(libs.androidx.fragment)

gradle/libs.versions.toml

Lines changed: 21 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,35 @@
11
[versions]
2-
agp = "8.13.2"
32
kotlin = "2.3.10"
4-
ksp = "2.3.6"
5-
golang = "1.0.4"
6-
coroutine = "1.10.2"
7-
coreKtx = "1.17.0"
83
activity = "1.12.4"
9-
fragment = "1.8.9"
10-
appcompat = "1.7.1"
11-
coordinator = "1.3.0"
12-
recyclerview = "1.4.0"
13-
viewpager = "1.1.0"
14-
material = "1.13.0"
15-
serialization = "1.10.0"
164
kaidl = "1.15"
175
room = "2.8.4"
18-
multiprocess = "1.0.0"
19-
quickie = "1.11.0"
20-
androidx-activity-ktx = "1.12.4"
6+
okhttp = "5.3.2"
217

228
[libraries]
23-
build-android = { module = "com.android.tools.build:gradle", version.ref = "agp" }
9+
build-android = { module = "com.android.tools.build:gradle", version = "8.13.2" }
2410
build-kotlin-common = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
2511
build-kotlin-serialization = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlin" }
26-
build-ksp = { module = "com.google.devtools.ksp:symbol-processing-gradle-plugin", version.ref = "ksp" }
27-
build-golang = { module = "com.github.kr328.golang:gradle-plugin", version.ref = "golang" }
28-
kotlin-coroutine = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutine" }
29-
kotlin-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "serialization" }
30-
androidx-core = { module = "androidx.core:core-ktx", version.ref = "coreKtx" }
31-
androidx-activity = { module = "androidx.activity:activity", version.ref = "activity" }
32-
androidx-fragment = { module = "androidx.fragment:fragment", version.ref = "fragment" }
33-
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
34-
androidx-coordinator = { module = "androidx.coordinatorlayout:coordinatorlayout", version.ref = "coordinator" }
35-
androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "recyclerview" }
36-
androidx-viewpager = { module = "androidx.viewpager2:viewpager2", version.ref = "viewpager" }
12+
build-ksp = { module = "com.google.devtools.ksp:symbol-processing-gradle-plugin", version = "2.3.6" }
13+
build-golang = { module = "com.github.kr328.golang:gradle-plugin", version = "1.0.4" }
14+
15+
kotlin-coroutine = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version = "1.10.2" }
16+
kotlin-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version = "1.10.0" }
17+
18+
androidx-core = { module = "androidx.core:core-ktx", version = "1.17.0" }
19+
androidx-activity-ktx = { module = "androidx.activity:activity-ktx", version.ref = "activity" }
20+
androidx-fragment = { module = "androidx.fragment:fragment", version = "1.8.9" }
21+
androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.7.1" }
22+
androidx-coordinator = { module = "androidx.coordinatorlayout:coordinatorlayout", version = "1.3.0" }
23+
androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version = "1.4.0" }
24+
androidx-viewpager = { module = "androidx.viewpager2:viewpager2", version = "1.1.0" }
3725
androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
3826
androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" }
3927
androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
40-
google-material = { module = "com.google.android.material:material", version.ref = "material" }
28+
29+
google-material = { module = "com.google.android.material:material", version = "1.13.0" }
4130
kaidl-compiler = { module = "com.github.kr328.kaidl:kaidl", version.ref = "kaidl" }
4231
kaidl-runtime = { module = "com.github.kr328.kaidl:kaidl-runtime", version.ref = "kaidl" }
43-
rikkax-multiprocess = { module = "dev.rikka.rikkax.preference:multiprocess", version.ref = "multiprocess" }
44-
quickie-bundled = { group = "io.github.g00fy2.quickie", name = "quickie-bundled", version.ref = "quickie" }
45-
androidx-activity-ktx = { group = "androidx.activity", name = "activity-ktx", version.ref = "androidx-activity-ktx" }
46-
47-
[plugins]
32+
rikkax-multiprocess = { module = "dev.rikka.rikkax.preference:multiprocess", version = "1.0.0" }
33+
quickie-bundled = { module = "io.github.g00fy2.quickie:quickie-bundled", version = "1.11.0" }
34+
okhttp-client = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
35+
okhttp-interceptor = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "okhttp" }

service/build.gradle.kts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ dependencies {
1919
implementation(libs.androidx.room.ktx)
2020
implementation(libs.kaidl.runtime)
2121
implementation(libs.rikkax.multiprocess)
22-
implementation(platform("com.squareup.okhttp3:okhttp-bom:5.3.2"))
23-
24-
// define any required OkHttp artifacts without version
25-
implementation("com.squareup.okhttp3:okhttp")
26-
implementation("com.squareup.okhttp3:logging-interceptor")
22+
implementation(libs.okhttp.client)
23+
implementation(libs.okhttp.interceptor)
2724
}
2825

2926
afterEvaluate {
@@ -33,4 +30,4 @@ afterEvaluate {
3330
sourceSets[it.name].java.srcDir(buildDir.resolve("generated/ksp/${it.name}/java"))
3431
}
3532
}
36-
}
33+
}

0 commit comments

Comments
 (0)