Prepare for 2.7 release.
This commit is contained in:
parent
e5ff374a9c
commit
462dd4e89b
@ -2,7 +2,7 @@ allprojects {
|
||||
apply plugin: 'findbugs'
|
||||
|
||||
group = 'com.lyndir.masterpassword'
|
||||
version = 'GIT-SNAPSHOT'
|
||||
version = '2.7'
|
||||
|
||||
tasks.withType( JavaCompile ) {
|
||||
options.encoding = 'UTF-8'
|
||||
|
@ -16,18 +16,22 @@ dependencies {
|
||||
}
|
||||
|
||||
|
||||
// release with: STORE_PW=$(mpw masterpassword.keystore) KEY_PW_ANDROID=$(mpw masterpassword-android) gradle masterpassword-gui:shadowJar
|
||||
shadowJar.doLast {
|
||||
// release with: STORE_PW=$(mpw masterpassword.keystore) KEY_PW_DESKTOP=$(mpw masterpassword-desktop) gradle clean masterpassword-gui:shadowJar
|
||||
shadowJar {
|
||||
manifest {
|
||||
attributes 'Implementation-Title': description
|
||||
attributes 'Implementation-Version': version
|
||||
}
|
||||
doLast {
|
||||
if (System.getenv( 'KEY_PW_DESKTOP' ) != null)
|
||||
ant.signjar(
|
||||
jar: archivePath,
|
||||
ant.signjar( jar: archivePath,
|
||||
alias: 'masterpassword-desktop',
|
||||
keystore: 'masterpassword.keystore',
|
||||
storepass: System.getenv( 'STORE_PW' ),
|
||||
keypass: System.getenv( 'KEY_PW_DESKTOP' ),
|
||||
preservelastmodified: 'true',
|
||||
destdir: '.'
|
||||
)
|
||||
destdir: '.' )
|
||||
}
|
||||
}
|
||||
|
||||
run {
|
||||
|
Loading…
Reference in New Issue
Block a user