Build: Automatic version and app name update with Gradle
Created by: E3V3A
Implement automatic build and version updates when using Travis-CI and Gradle, to build our App.
The build.gradle
script to do this, is described HERE, and lastest version can be found HERE. This would obviously require a few modifications in the RegEx as our build string is different, including changing the correct min/max of the supported API. (min=API-17, max=?)
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.SecUpwN.AIMSICD"
android:versionCode="24"
android:versionName="0.1.24-alpha-build-12">
The link above also provide a way to implement automatic APK signing, using a signing.properties file.
And HERE is a way to automatically name the built APK.