Explorar el Código

config for build

sduduzog hace 7 años
padre
commit
e4907ee9b8
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      app/build.gradle

+ 6 - 1
app/build.gradle

@@ -11,12 +11,17 @@ android {
         minSdkVersion 15
         targetSdkVersion 28
         versionCode 1
-        versionName "1.0"
+        versionName "0.1.0"
         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
     }
     buildTypes {
         release {
+            minifyEnabled true
+            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+        }
+        debug {
             minifyEnabled false
+            applicationIdSuffix ".debug"
             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
         }
     }