File tree Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -115,15 +115,15 @@ mavenPublishing {
115
115
116
116
// Sign with default plugin
117
117
signing {
118
- // useInMemoryPgpKeys(
119
- // System.getenv("SIGNING_KEY"),
120
- // System.getenv("SIGNING_KEY_PASSWORD")
121
- // )
122
- // sign(publishing.publications)
123
- //
124
- // // Temporary workaround, see https://github.com/gradle/gradle/issues/26091#issuecomment-1722947958
125
- // tasks.withType<AbstractPublishToMaven>().configureEach {
126
- // val signingTasks = tasks.withType<Sign>()
127
- // mustRunAfter(signingTasks)
128
- // }
118
+ useInMemoryPgpKeys(
119
+ System .getenv(" SIGNING_KEY" ),
120
+ System .getenv(" SIGNING_KEY_PASSWORD" )
121
+ )
122
+ sign(publishing.publications)
123
+
124
+ // Temporary workaround, see https://github.com/gradle/gradle/issues/26091#issuecomment-1722947958
125
+ tasks.withType<AbstractPublishToMaven >().configureEach {
126
+ val signingTasks = tasks.withType<Sign >()
127
+ mustRunAfter(signingTasks)
128
+ }
129
129
}
Original file line number Diff line number Diff line change @@ -141,15 +141,15 @@ mavenPublishing {
141
141
142
142
// Sign with default plugin
143
143
signing {
144
- // useInMemoryPgpKeys(
145
- // System.getenv("SIGNING_KEY"),
146
- // System.getenv("SIGNING_KEY_PASSWORD")
147
- // )
148
- // sign(publishing.publications)
149
- //
150
- // // Temporary workaround, see https://github.com/gradle/gradle/issues/26091#issuecomment-1722947958
151
- // tasks.withType<AbstractPublishToMaven>().configureEach {
152
- // val signingTasks = tasks.withType<Sign>()
153
- // mustRunAfter(signingTasks)
154
- // }
144
+ useInMemoryPgpKeys(
145
+ System .getenv(" SIGNING_KEY" ),
146
+ System .getenv(" SIGNING_KEY_PASSWORD" )
147
+ )
148
+ sign(publishing.publications)
149
+
150
+ // Temporary workaround, see https://github.com/gradle/gradle/issues/26091#issuecomment-1722947958
151
+ tasks.withType<AbstractPublishToMaven >().configureEach {
152
+ val signingTasks = tasks.withType<Sign >()
153
+ mustRunAfter(signingTasks)
154
+ }
155
155
}
You can’t perform that action at this time.
0 commit comments