diff options
-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 { |