DEADSOFTWARE

Add debug configuration
authorfred-boy <fred-boy@protonmail.com>
Tue, 24 Apr 2018 10:45:28 +0000 (17:45 +0700)
committerfred-boy <fred-boy@protonmail.com>
Tue, 24 Apr 2018 10:45:28 +0000 (17:45 +0700)
android/build.gradle
android/debug/res/values/strings.xml [new file with mode: 0644]

index b15a589ba5c401fde5c6f8adbfc97e950146e33c..f1fec86afd014ac76255bf84866f6bb1639c6726 100644 (file)
@@ -11,7 +11,9 @@ android {
             assets.srcDirs = ['assets']
             jniLibs.srcDirs = ['libs']
         }
-
+        debug {
+            res.srcDirs = ['debug/res']
+        }
         instrumentTest.setRoot('tests')
     }
     packagingOptions {
@@ -29,6 +31,9 @@ android {
             minifyEnabled false
             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
         }
+        debug {
+            applicationIdSuffix ".debug"
+        }
     }
 }
 // called every time gradle gets executed, takes the native dependencies of
diff --git a/android/debug/res/values/strings.xml b/android/debug/res/values/strings.xml
new file mode 100644 (file)
index 0000000..64c4388
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+    <string name="app_name">CaveCraft Debug</string>
+
+</resources>