Skip to content

Commit ffb82dc

Browse files
authored
Merge pull request #12849 from TeamNewPipe/acraKSP
Fixes for ACRA with KSP
2 parents 22dfe95 + e91d647 commit ffb82dc

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

app/build.gradle.kts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,6 @@ dependencies {
258258
implementation(libs.google.exoplayer.smoothstreaming)
259259
implementation(libs.google.exoplayer.ui)
260260

261-
// Metadata generator for service descriptors
262-
compileOnly(libs.google.autoservice.annotations)
263-
ksp(libs.google.autoservice.compiler)
264-
265261
// Manager for complex RecyclerView layouts
266262
implementation(libs.lisawray.groupie.core)
267263
implementation(libs.lisawray.groupie.viewbinding)
@@ -275,6 +271,8 @@ dependencies {
275271

276272
// Crash reporting
277273
implementation(libs.acra.core)
274+
compileOnly(libs.google.autoservice.annotations)
275+
ksp(libs.zacsweers.autoservice.compiler)
278276

279277
// Properly restarting
280278
implementation(libs.jakewharton.phoenix)

gradle/libs.versions.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ acra = "5.13.1"
88
agp = "8.13.1"
99
appcompat = "1.7.1"
1010
assertj = "3.27.6"
11-
autoservice = "1.1.1"
11+
autoservice-google = "1.1.1"
12+
autoservice-zacsweers = "1.2.0"
1213
bridge = "v2.0.2"
1314
cardview = "1.0.0"
1415
checkstyle = "12.1.2"
@@ -95,8 +96,7 @@ evernote-statesaver-core = { module = "com.evernote:android-state", version.ref
9596
facebook-stetho-core = { module = "com.facebook.stetho:stetho", version.ref = "stetho" }
9697
facebook-stetho-okhttp3 = { module = "com.facebook.stetho:stetho-okhttp3", version.ref = "stetho" }
9798
google-android-material = { module = "com.google.android.material:material", version.ref = "material" }
98-
google-autoservice-annotations = { module = "com.google.auto.service:auto-service-annotations", version.ref = "autoservice" }
99-
google-autoservice-compiler = { module = "com.google.auto.service:auto-service", version.ref = "autoservice" }
99+
google-autoservice-annotations = { module = "com.google.auto.service:auto-service-annotations", version.ref = "autoservice-google" }
100100
google-exoplayer-core = { module = "com.google.android.exoplayer:exoplayer-core", version.ref = "exoplayer" }
101101
google-exoplayer-dash = { module = "com.google.android.exoplayer:exoplayer-dash", version.ref = "exoplayer" }
102102
google-exoplayer-database = { module = "com.google.android.exoplayer:exoplayer-database", version.ref = "exoplayer" }
@@ -128,6 +128,7 @@ squareup-leakcanary-plumber = { module = "com.squareup.leakcanary:plumber-androi
128128
squareup-leakcanary-watcher = { module = "com.squareup.leakcanary:leakcanary-object-watcher-android", version.ref = "leakcanary" }
129129
squareup-okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
130130
squareup-picasso = { module = "com.squareup.picasso:picasso", version.ref = "picasso" }
131+
zacsweers-autoservice-compiler = { module = "dev.zacsweers.autoservice:auto-service-ksp", version.ref = "autoservice-zacsweers" }
131132

132133
[plugins]
133134
android-application = { id = "com.android.application", version.ref = "agp" }

0 commit comments

Comments
 (0)