Skip to content

Commit 8966994

Browse files
committed
Fixes
1 parent d37524b commit 8966994

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

buildSrc/src/main/kotlin/Dependencies.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ object Dependencies {
2121
object AutoService {
2222
private const val version = "1.0"
2323
const val annotations = "com.google.auto.service:auto-service-annotations:$version"
24+
const val compiler = "com.google.auto.service:auto-service:$version"
2425
const val ksp = "dev.zacsweers.autoservice:auto-service-ksp:0.4.2"
2526
}
2627

@@ -44,8 +45,8 @@ object Dependencies {
4445
}
4546

4647
object Testing {
47-
const val compileTesting = "com.github.tschuchortdev:kotlin-compile-testing:1.3.6"
48-
const val kspCompileTesting = "com.github.tschuchortdev:kotlin-compile-testing-ksp:1.3.6"
48+
const val compileTesting = "com.github.tschuchortdev:kotlin-compile-testing:1.4.0"
49+
const val kspCompileTesting = "com.github.tschuchortdev:kotlin-compile-testing-ksp:1.4.0"
4950
const val junit = "junit:junit:4.13.2"
5051
const val truth = "com.google.truth:truth:1.1.2"
5152
}

processor/build.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,18 @@
1515
*/
1616

1717
plugins {
18-
id("com.google.devtools.ksp")
18+
// id("com.google.devtools.ksp")
1919
kotlin("jvm")
20+
kotlin("kapt")
2021
id("com.vanniktech.maven.publish")
2122
}
2223

2324
dependencies {
24-
ksp(Dependencies.AutoService.ksp)
25+
// Can't entirely rely on this until KSP is stable
26+
// ksp(Dependencies.AutoService.ksp)
2527
compileOnly(Dependencies.Kotlin.Ksp.api)
2628

29+
kapt(Dependencies.AutoService.compiler)
2730
implementation(Dependencies.AutoService.annotations)
2831
implementation(Dependencies.KotlinPoet.kotlinPoet)
2932
implementation(Dependencies.guava)

0 commit comments

Comments
 (0)