Sign APK with Gradle

pull/14/head 4.6.8
Alex Baker 11 years ago
parent 1b575faf45
commit 7b3f8ddfc3

@ -22,13 +22,28 @@ android {
targetSdkVersion 17
}
signingConfigs {
release
}
buildTypes {
release {
runProguard true
proguardFile 'proguard.cfg'
proguardFile getDefaultProguardFile('proguard-android.txt')
signingConfig signingConfigs.release
}
}
if (project.hasProperty('keyAlias') &&
project.hasProperty('storeFile') &&
project.hasProperty('storePassword') &&
project.hasProperty('keyPassword')) {
android.signingConfigs.release.keyAlias = keyAlias
android.signingConfigs.release.storeFile = file(storeFile)
android.signingConfigs.release.storePassword = storePassword
android.signingConfigs.release.keyPassword = keyPassword
}
}
dependencies {

@ -7,7 +7,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.tasks"
android:versionName="4.6.8"
android:versionCode="316">
android:versionCode="317">
<!-- widgets, alarms, and services will break if Astrid is installed on SD card -->
<!-- android:installLocation="internalOnly"> -->

Loading…
Cancel
Save