File tree Expand file tree Collapse file tree 5 files changed +33
-0
lines changed
src/main/kotlin/com/google/devtools/ksp/gradle Expand file tree Collapse file tree 5 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ tasks.named<Test>("test").configure {
143143 dependsOn(" :api:publishAllPublicationsToTestRepository" )
144144 dependsOn(" :common-deps:publishAllPublicationsToTestRepository" )
145145 dependsOn(" :gradle-plugin:publishAllPublicationsToTestRepository" )
146+ dependsOn(" :symbol-processing:publishAllPublicationsToTestRepository" )
146147 dependsOn(" :symbol-processing-aa-embeddable:publishAllPublicationsToTestRepository" )
147148}
148149
Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ class KspGradleSubplugin @Inject internal constructor(private val registry: Tool
250250 SubpluginArtifact (
251251 groupId = " com.google.devtools.ksp" ,
252252 artifactId = KSP_COMPILER_PLUGIN_ID ,
253+ version = KSP_VERSION
253254 )
254255}
255256
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ fun Test.configureCommonSettings() {
3434 dependsOn(" :api:publishAllPublicationsToTestRepository" )
3535 dependsOn(" :gradle-plugin:publishAllPublicationsToTestRepository" )
3636 dependsOn(" :common-deps:publishAllPublicationsToTestRepository" )
37+ dependsOn(" :symbol-processing:publishAllPublicationsToTestRepository" )
3738 dependsOn(" :symbol-processing-aa-embeddable:publishAllPublicationsToTestRepository" )
3839}
3940
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ include("gradle-plugin")
2222include(" common-deps" )
2323include(" common-util" )
2424include(" test-utils" )
25+ include(" symbol-processing" )
2526include(" integration-tests" )
2627include(" kotlin-analysis-api" )
2728include(" symbol-processing-aa-embeddable" )
Original file line number Diff line number Diff line change 1+ description = " Dummy Artifact for KotlinCompilerPluginSupportPlugin"
2+
3+ val signingKey: String? by project
4+ val signingPassword: String? by project
5+ val kotlinBaseVersion: String by project
6+
7+ plugins {
8+ kotlin(" jvm" )
9+ `maven- publish`
10+ signing
11+ }
12+
13+ publishing {
14+ publications {
15+ create<MavenPublication >(" default" ) {
16+ artifactId = " symbol-processing"
17+ pom {
18+ name.set(" com.google.devtools.ksp:symbol-processing" )
19+ description.set(" Symbol processing for Kotlin" )
20+ }
21+ }
22+ }
23+ }
24+
25+ signing {
26+ isRequired = hasProperty(" signingKey" )
27+ useInMemoryPgpKeys(signingKey, signingPassword)
28+ sign(extensions.getByType<PublishingExtension >().publications)
29+ }
You can’t perform that action at this time.
0 commit comments