2018-04-24 20:14:36 +00:00
|
|
|
To build a release distribution:
|
|
|
|
|
2018-05-19 15:45:57 +00:00
|
|
|
Desktop:
|
|
|
|
|
2018-06-19 20:52:57 +00:00
|
|
|
STORE_PW=$(mpw masterpassword.keystore) KEY_PW_DESKTOP=$(mpw masterpassword-desktop) gradle clean masterpassword-gui:shadowJar
|
2018-05-19 15:45:57 +00:00
|
|
|
|
|
|
|
Android:
|
|
|
|
|
2018-06-19 20:52:57 +00:00
|
|
|
STORE_PW=$(mpw masterpassword.keystore) KEY_PW_ANDROID=$(mpw masterpassword-android) gradle clean masterpassword-android:assembleRelease
|
2018-05-19 15:45:57 +00:00
|
|
|
|
2018-04-24 20:14:36 +00:00
|
|
|
|
|
|
|
Note:
|
|
|
|
|
|
|
|
- At the time of writing, Android does not build with JDK 9+. As such, the above command must be ran with JAVA_HOME pointing to JDK 7-8.
|
2018-05-19 15:45:57 +00:00
|
|
|
- The release keystores are not included in the repository. They are maintained by Maarten Billemont (lhunath@lyndir.com).
|