Prechádzať zdrojové kódy

Specified package for debug builds

Vadik Sirekanyan 7 rokov pred
rodič
commit
aa76a1a2de

+ 7 - 2
app/build.gradle

@@ -6,11 +6,11 @@ android {
     compileSdkVersion 27
     buildToolsVersion '27.0.3'
     defaultConfig {
-        applicationId "me.vadik.knigopis"
+        applicationId 'me.vadik.knigopis'
         minSdkVersion 19
         targetSdkVersion 27
         versionCode 8
-        versionName "0.1.7"
+        versionName '0.1.7'
         archivesBaseName = "$applicationId-$versionName-$versionCode"
         vectorDrawables.useSupportLibrary = true
     }
@@ -18,6 +18,11 @@ android {
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8
     }
+    buildTypes {
+        debug {
+            applicationIdSuffix '.debug'
+        }
+    }
 }
 
 dependencies {

+ 3 - 0
app/src/debug/res/values-ru/strings.xml

@@ -0,0 +1,3 @@
+<resources>
+    <string name="app_name">Книгопись Debug</string>
+</resources>

+ 3 - 0
app/src/debug/res/values/strings.xml

@@ -0,0 +1,3 @@
+<resources>
+    <string name="app_name">Knigopis Debug</string>
+</resources>