1
0
forked from xjboss/KCauldronX

Stop publishing -server artifacts [ci skip]

This commit is contained in:
Prototik 2015-10-25 17:20:48 +07:00
parent ed0bc9ab15
commit 40c95e49c0
4 changed files with 6 additions and 10 deletions

View File

@ -233,8 +233,7 @@ task packageBundle(type: Zip, dependsOn: installBundle) {
rename bundleStub.archiveName, 'KCauldron.jar' rename bundleStub.archiveName, 'KCauldron.jar'
} }
task signJars(type: Sign, dependsOn: [packageUniversal, packageChangelog, packageBundle, jar, 'generatePomFileForMavenPublication']) { task signJars(type: Sign, dependsOn: [packageChangelog, packageBundle, jar, 'generatePomFileForMavenPublication']) {
sign packageUniversal
sign packageChangelog sign packageChangelog
sign packageBundle sign packageBundle
sign jar sign jar
@ -253,12 +252,10 @@ def getPomSignature = {
def getSignatureFiles = { def getSignatureFiles = {
def allFiles = project.tasks.signJars.signatureFiles.collect { it } def allFiles = project.tasks.signJars.signatureFiles.collect { it }
def signedServer = allFiles.find { it.name.contains('-server') }
def signedChangelog = allFiles.find { it.name.contains('-changelog') } def signedChangelog = allFiles.find { it.name.contains('-changelog') }
def signedBundle = allFiles.find { it.name.contains('-bundle') } def signedBundle = allFiles.find { it.name.contains('-bundle') }
def signedJar = (allFiles - [signedServer, signedChangelog, signedBundle])[0] def signedJar = (allFiles - [signedChangelog, signedBundle])[0]
return [ return [
[archive: signedServer, classifier: 'server', extension: 'jar.asc'],
[archive: signedChangelog, classifier: 'changelog', extension: 'txt.asc'], [archive: signedChangelog, classifier: 'changelog', extension: 'txt.asc'],
[archive: signedBundle, classifier: 'bundle', extension: 'zip.asc'], [archive: signedBundle, classifier: 'bundle', extension: 'zip.asc'],
[archive: signedJar, classifier: null, extension: 'jar.asc'] [archive: signedJar, classifier: null, extension: 'jar.asc']
@ -289,7 +286,6 @@ publishing {
classifier = null classifier = null
extension = 'pom.asc' extension = 'pom.asc'
} }
artifact packageUniversal
artifact packageChangelog artifact packageChangelog
artifact packageBundle artifact packageBundle
artifact jar artifact jar

Binary file not shown.

View File

@ -1,6 +1,6 @@
#Fri Oct 16 21:29:47 KRAT 2015 #Sun Oct 25 17:18:11 KRAT 2015
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.7-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-bin.zip

4
gradlew vendored
View File

@ -56,9 +56,9 @@ while [ -h "$PRG" ] ; do
fi fi
done done
SAVED="`pwd`" SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >&- cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`" APP_HOME="`pwd -P`"
cd "$SAVED" >&- cd "$SAVED" >/dev/null
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar