File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed
Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -169,28 +169,28 @@ publishing {
169169// }
170170// }
171171
172- pom. withXml {
173- writeTo(project. ext. pomFile)
174- def pomAscFile = signing. sign(project. ext. pomFile). signatureFiles[0 ]
175- artifact(pomAscFile) {
176- classifier = null
177- extension = ' pom.asc'
178- }
179- project. ext. pomFile. delete()
180- }
181-
182- // Sign the artifacts.
183- project. tasks. signArchives. signatureFiles. each {
184- artifact(it) {
185- def matcher = it. file =~ / -(sources|javadoc)\. jar\. asc$/
186- if (matcher. find()) {
187- classifier = matcher. group(1 )
188- } else {
189- classifier = null
190- }
191- extension = ' jar.asc'
192- }
193- }
172+ // pom.withXml {
173+ // writeTo(project.ext.pomFile)
174+ // def pomAscFile = signing.sign(project.ext.pomFile).signatureFiles[0]
175+ // artifact(pomAscFile) {
176+ // classifier = null
177+ // extension = 'pom.asc'
178+ // }
179+ // project.ext.pomFile.delete()
180+ // }
181+ //
182+ // // Sign the artifacts.
183+ // project.tasks.signArchives.signatureFiles.each {
184+ // artifact(it) {
185+ // def matcher = it.file =~ /-(sources|javadoc)\.jar\.asc$/
186+ // if (matcher.find()) {
187+ // classifier = matcher.group(1)
188+ // } else {
189+ // classifier = null
190+ // }
191+ // extension = 'jar.asc'
192+ // }
193+ // }
194194
195195
196196 }
You can’t perform that action at this time.
0 commit comments