Skip to content

Add release signingConfig and use local.properties as source

Ghost User requested to merge feature/local-properties-release into master

This add a simple release signingConfig to make releasing a breeze.

How To Use

Make sure you have a keystore somewhere and you know the password, key alias and key alias password. Now create and/or open the local.properties file in the <project root>/android folder.

Add the following parameters to the file:

RELEASE_STORE_FILE=<keystore file location>
RELEASE_KEY_ALIAS=<key alias>

And you will now be able to run ./gradlew assembleRelease inside the android folder to compile a release-ready packaged APK. The store password will popup as input modal.

In case the build doesn't include the index.bundle.js: make sure the org.gradle.configureondemand parameter in ~/.gradle/gradle.properties equals false.

Edited by Ghost User

Merge request reports

Loading