aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-01-19 23:03:29 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-01-19 23:03:29 +0100
commit92872d1063c228abfccd6b585801fa83528e1a28 (patch)
treea6782a5341ba66d204f1e8422a5f62b8c606c4d5
parent18be2c5863db6bd179766d1085d71bb94117a4ed (diff)
downloadio.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.gradle21
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 {