From: fred-boy Date: Tue, 24 Apr 2018 10:45:28 +0000 (+0700) Subject: Add debug configuration X-Git-Tag: alpha0.3~12 X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=0ea10df69e2d79ce7b13e5c4ac994daf9a7e26e8;p=cavedroid.git Add debug configuration --- 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 + +