From a16cb1931161e57085f403be23152a270ef000c8 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Tue, 24 Apr 2018 16:14:36 -0400 Subject: [PATCH] Describe how to create a Java release. --- gradle/README.md | 7 +++++++ platform-android/README | 13 ------------- 2 files changed, 7 insertions(+), 13 deletions(-) create mode 100644 gradle/README.md delete mode 100644 platform-android/README diff --git a/gradle/README.md b/gradle/README.md new file mode 100644 index 00000000..41a86ad8 --- /dev/null +++ b/gradle/README.md @@ -0,0 +1,7 @@ +To build a release distribution: + +STORE_PW=$(mpw masterpassword.keystore) KEY_PW=$(mpw masterpassword-android) gradle assembleRelease + +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. diff --git a/platform-android/README b/platform-android/README deleted file mode 100644 index 95c5a204..00000000 --- a/platform-android/README +++ /dev/null @@ -1,13 +0,0 @@ -To build this module, please ensure you've done the following setup: - -1. Installed the Android SDK and fully downloaded the Android SDK platform 21 in it. -2. Set the environment variable ANDROID_HOME in your shell or in ~/.mavenrc to point to the root of your Android SDK install. -3. Installed the Android SDK into your Maven's local repository. - 3a. Clone the maven-android-sdk-deployer available from here: https://github.com/mosabua/maven-android-sdk-deployer.git - 3b. In the root of this project, run: mvn install -P 5.0 - -To build this module: - -1. Build the parent, by going into 'MasterPassword/Java' and running: mvn clean install -2. Build this module, by going into 'MasterPassword/Java/masterpassword-android' and running: mvn clean install -3. You can then find the APK in: 'MasterPassword/Java/masterpassword-android/target'