Skip to content

Commit 6055cf2

Browse files
committed
acra: Switch to ZacSweers's fork of autoservice
Google has no plans to officially support KSP for autoservice Ref: google/auto#882 Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
1 parent 22dfe95 commit 6055cf2

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ dependencies {
260260

261261
// Metadata generator for service descriptors
262262
compileOnly(libs.google.autoservice.annotations)
263-
ksp(libs.google.autoservice.compiler)
263+
ksp(libs.zacsweers.autoservice.compiler)
264264

265265
// Manager for complex RecyclerView layouts
266266
implementation(libs.lisawray.groupie.core)

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)