diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-01-19 23:03:29 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-01-19 23:03:29 +0100 |
commit | 92872d1063c228abfccd6b585801fa83528e1a28 (patch) | |
tree | a6782a5341ba66d204f1e8422a5f62b8c606c4d5 | |
parent | 18be2c5863db6bd179766d1085d71bb94117a4ed (diff) | |
download | io.trygvis.soilmoisture-android-92872d1063c228abfccd6b585801fa83528e1a28.tar.gz io.trygvis.soilmoisture-android-92872d1063c228abfccd6b585801fa83528e1a28.tar.bz2 io.trygvis.soilmoisture-android-92872d1063c228abfccd6b585801fa83528e1a28.tar.xz io.trygvis.soilmoisture-android-92872d1063c228abfccd6b585801fa83528e1a28.zip |
Trying to automatically generate versions numbers from Git.
-rw-r--r-- | app/build.gradle | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/app/build.gradle b/app/build.gradle index 2732c04..bea207c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -56,12 +56,20 @@ android { versionCode getVersionCode() versionName getVersionName() - println("versionCode=$versionCode, versionName=$versionName") + println("versionCode=$versionCode, versionName=$versionName"); + } + signingConfigs { + release { + storeFile file(RELEASE_STORE_FILE) + storePassword RELEASE_STORE_PASSWORD + keyAlias RELEASE_KEY_ALIAS + keyPassword RELEASE_KEY_PASSWORD + } } buildTypes { release { -// runProguard false -// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + minifyEnabled false + signingConfig signingConfigs.release } } compileOptions { @@ -73,13 +81,6 @@ android { checkReleaseBuilds false abortOnError false } - productFlavors { - level18 { - minSdkVersion 18 - applicationId 'io.trygvis.soilmoisture' - targetSdkVersion 18 - } - } } dependencies { |