From 7d0423611716fbee161d566d7f93f215a849bb8b Mon Sep 17 00:00:00 2001 From: Ting-Yuan Huang Date: Wed, 20 Sep 2023 16:06:47 -0700 Subject: [PATCH] KSP 2: support KSP2 in gradle-plugin:test --- gradle-plugin/build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gradle-plugin/build.gradle.kts b/gradle-plugin/build.gradle.kts index b5e77a19c3..8293b7428a 100644 --- a/gradle-plugin/build.gradle.kts +++ b/gradle-plugin/build.gradle.kts @@ -32,6 +32,7 @@ dependencies { compileOnly(project(":api")) testImplementation(gradleApi()) testImplementation(project(":api")) + testImplementation(project(":common-util")) testImplementation("junit:junit:$junitVersion") testImplementation("com.google.truth:truth:$googleTruthVersion") testImplementation(gradleTestKit()) @@ -140,6 +141,7 @@ tasks.named("test").configure { dependsOn(":api:publishAllPublicationsToTestRepository") dependsOn(":gradle-plugin:publishAllPublicationsToTestRepository") dependsOn(":symbol-processing:publishAllPublicationsToTestRepository") + dependsOn(":kotlin-analysis-api:publishAllPublicationsToTestRepository") } abstract class WriteVersionSrcTask @Inject constructor(