From 0ea10df69e2d79ce7b13e5c4ac994daf9a7e26e8 Mon Sep 17 00:00:00 2001 From: fred-boy Date: Tue, 24 Apr 2018 17:45:28 +0700 Subject: [PATCH] Add debug configuration --- android/build.gradle | 7 ++++++- android/debug/res/values/strings.xml | 6 ++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 android/debug/res/values/strings.xml diff --git a/android/build.gradle b/android/build.gradle index b15a589..f1fec86 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -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 index 0000000..64c4388 --- /dev/null +++ b/android/debug/res/values/strings.xml @@ -0,0 +1,6 @@ + + + + CaveCraft Debug + + -- 2.29.2