mirror of
https://github.com/GTNewHorizons/Draconic-Evolution.git
synced 2026-11-21 20:52:19 +00:00
SignJar
This commit is contained in:
1 parent
ee5164c3b3
commit
7ca87b36cd
2 files changed
+17
-1
No files matched your search
@@ -25,6 +25,7 @@ repositories {
|
||||
}
|
||||
|
||||
apply plugin: 'forge'
|
||||
apply plugin: 'signing'
|
||||
|
||||
// Define properties file
|
||||
ext.configFile = file "build.properties"
|
||||
@@ -98,4 +99,19 @@ artifacts {
|
||||
archives deobfJar
|
||||
archives sourceJar
|
||||
archives jar
|
||||
}
|
||||
|
||||
task signJar(dependsOn: 'reobf'){
|
||||
doLast {
|
||||
ant.signjar(
|
||||
destDir: jar.destinationDir,
|
||||
jar: jar.getArchivePath(),
|
||||
alias: findProperty('keyStoreAlias') ?: '',
|
||||
keystore: findProperty('keyStore') ?: '',
|
||||
storepass: findProperty('keyStorePass') ?: '',
|
||||
digestalg: findProperty('signDigestAlg') ?: '',
|
||||
tsaurl: findProperty('signTSAurl') ?: '',
|
||||
verbose: true
|
||||
)
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -3,4 +3,4 @@ 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.14.1-bin.zip
|
||||
Reference in new issue
Block a user