File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,16 @@ 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,6 +83,4 @@ afterEvaluate {
8383 }
8484 }
8585 }
86-
87- signing { sign(publishing.publications) }
8886}
Original file line number Diff line number Diff line change @@ -87,11 +87,3 @@ 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