@@ -74,13 +74,12 @@ def pomConfig = {
7474 inceptionYear 2016
7575 organization {
7676 name ' Sift Science'
77- url ' https://siftscience .com'
77+ url ' https://sift .com'
7878 }
7979 developers {
8080 developer {
81- id ' lopatin'
82- name ' Alex Lopatin'
83- url ' https://github.com/lopatin'
81+ id ' sift-api-platform'
82+ name ' Sift API Platform Team'
8483 }
8584 }
8685 scm {
@@ -121,37 +120,6 @@ publishing {
121120 last. parent(). appendNode(' description' , ' Sift Science Java API' )
122121 last + pomConfig
123122 }
124-
125- // Sign the pom.xml.
126- // pom.withXml {
127- // def pomFile = file("${project.buildDir}/generated-pom.xml")
128- // writeTo(pomFile)
129- // def pomAscFile = signing.sign(pomFile).signatureFiles[0]
130- // artifact(pomAscFile) {
131- // classifier = null
132- // extension = 'pom.asc'
133- // }
134- // pomFile.delete()
135- // }
136-
137- // Sign the artifacts.
138- // project.tasks.signArchives.signatureFiles.each {
139- // artifact(it) {
140- // def matcher = it.file =~ /-(sources|javadoc)\.jar\.asc$/
141- // def zipMatcher = it.file =~ /\.(zip|tar)\.asc$/
142- // def extensionPrefix = 'jar'
143- // // if (zipMatcher.find()) {
144- // // extensionPrefix = zipMatcher.group(1)
145- // // }
146- // if (matcher.find()) {
147- // classifier = matcher.group(1)
148- // } else {
149- // classifier = null
150- // }
151- //
152- // extension = extensionPrefix + '.asc'
153- // }
154- // }
155123 }
156124 }
157125
@@ -168,12 +136,6 @@ publishing {
168136 }
169137}
170138
171- // model {
172- // tasks.publishJarPublicationToStagingRepository {
173- // dependsOn(project.tasks.signArchives)
174- // }
175- // }
176-
177139signing {
178140 required { gradle. taskGraph. hasTask(" publish" ) }
179141 sign publishing. publications. jar
0 commit comments