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'
}
task signJars(type: Sign, dependsOn: [packageUniversal, packageChangelog, packageBundle, jar, 'generatePomFileForMavenPublication']) {
sign packageUniversal
task signJars(type: Sign, dependsOn: [packageChangelog, packageBundle, jar, 'generatePomFileForMavenPublication']) {
sign packageChangelog
sign packageBundle
sign jar
@ -253,12 +252,10 @@ def getPomSignature = {
def getSignatureFiles = {
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 signedBundle = allFiles.find { it.name.contains('-bundle') }
def signedJar = (allFiles - [signedServer, signedChangelog, signedBundle])[0]
def signedJar = (allFiles - [signedChangelog, signedBundle])[0]
return [
[archive: signedServer, classifier: 'server', extension: 'jar.asc'],
[archive: signedChangelog, classifier: 'changelog', extension: 'txt.asc'],
[archive: signedBundle, classifier: 'bundle', extension: 'zip.asc'],
[archive: signedJar, classifier: null, extension: 'jar.asc']
@ -289,7 +286,6 @@ publishing {
classifier = null
extension = 'pom.asc'
}
artifact packageUniversal
artifact packageChangelog
artifact packageBundle
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
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
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
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >&-
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >&-
cd "$SAVED" >/dev/null
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar