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