Skip to content

Commit fcb79d7

Browse files
committed
revert build for master
1 parent cb18256 commit fcb79d7

File tree

1 file changed

+0
-58
lines changed

1 file changed

+0
-58
lines changed

build.gradle

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ apply plugin: 'biz.aQute.bnd.builder'
2424
apply plugin: 'com.jfrog.bintray'
2525
apply plugin: 'maven-publish'
2626

27-
apply plugin: 'signing'
28-
29-
3027
def releaseVersion = System.properties.RELEASE_VERSION
3128
version = releaseVersion ? releaseVersion : new SimpleDateFormat('yyyy-MM-dd\'T\'HH-mm-ss').format(new Date())
3229

@@ -41,24 +38,6 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
4138
from javadoc.destinationDir
4239
}
4340

44-
task signPom(type: Sign) {
45-
sign project.file('build/publications/maven/pom-default.xml')
46-
outputs.upToDateWhen { false } // the signing plugin does not seem to notice
47-
// it when the publications folder with the
48-
// signature has been deleted. So we always
49-
// create a new signature
50-
}
51-
52-
ext {
53-
pomFile = file("${project.buildDir}/generated-pom.xml")
54-
isReleaseVersion = !(project.version =~ /-SNAPSHOT$/)
55-
}
56-
57-
58-
//signing {
59-
// sign configurations.archives
60-
//}
61-
6241
idea {
6342
project {
6443
languageLevel = '1.8'
@@ -156,43 +135,6 @@ publishing {
156135
}
157136
}
158137
}
159-
160-
// project.tasks.withType(Sign) {
161-
// signatures.all {
162-
// def type = it.type
163-
// if (it.file.name.endsWith('.tar.gz.asc')) { // Workaround in case a tar.gz file should published
164-
// type = 'tar.gz.asc'
165-
// } else if (it.type.equals('xml.asc')) { // Set correct extension for signature of pom file
166-
// type = 'pom.asc'
167-
// }
168-
// artifact source: it.file, classifier: it.classifier ?: null, extension: type
169-
// }
170-
// }
171-
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-
// }
194-
195-
196138
}
197139
}
198140
}

0 commit comments

Comments
 (0)