File tree Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,3 @@ nexusPublishing {
2626 }
2727 }
2828}
29-
30- subprojects {
31- plugins.withId(" maven-publish" ) {
32- extensions.configure<SigningExtension >(" signing" ) {
33- useInMemoryPgpKeys(
34- providers.gradleProperty(" signingInMemoryKey" ).orNull,
35- providers.gradleProperty(" signingInMemoryKeyPassword" ).orNull,
36- )
37- val publishing = extensions.getByType(PublishingExtension ::class .java)
38- sign(publishing.publications)
39- }
40- }
41- }
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ android {
2424
2525 compilerOptions {
2626 jvmTarget.set(JvmTarget .JVM_17 )
27- languageVersion.set(KotlinVersion .KOTLIN_2_0 )
28- apiVersion.set(KotlinVersion .KOTLIN_2_0 )
27+ languageVersion.set(KotlinVersion .KOTLIN_2_0 )
28+ apiVersion.set(KotlinVersion .KOTLIN_2_0 )
2929 }
3030 }
3131
@@ -83,4 +83,6 @@ afterEvaluate {
8383 }
8484 }
8585 }
86+
87+ signing { sign(publishing.publications) }
8688}
Original file line number Diff line number Diff line change @@ -87,3 +87,11 @@ publishing {
8787 }
8888 }
8989}
90+
91+ signing {
92+ useInMemoryPgpKeys(
93+ providers.gradleProperty(" signingInMemoryKey" ).getOrElse(" " ),
94+ providers.gradleProperty(" signingInMemoryKeyPassword" ).getOrElse(" " ),
95+ )
96+ sign(publishing.publications)
97+ }
You can’t perform that action at this time.
0 commit comments