diff options
-rw-r--r-- | app/build.gradle | 7 | ||||
-rw-r--r-- | app/src/release2/res/values/app_info.xml | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle index e32407f1..fd449b62 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -30,6 +30,12 @@ android { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } + release2.initWith(buildTypes.release) + release2 { + applicationIdSuffix ".release2" + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -83,6 +89,7 @@ dependencies { // LeakCanary debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4' releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4' + release2Compile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4' // Fabric compile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') { diff --git a/app/src/release2/res/values/app_info.xml b/app/src/release2/res/values/app_info.xml new file mode 100644 index 00000000..1c37d279 --- /dev/null +++ b/app/src/release2/res/values/app_info.xml @@ -0,0 +1,4 @@ +<resources xmlns:tools="http://schemas.android.com/tools" + tools:ignore="MissingTranslation"> + <string name="app_name">ySmileEssence</string> +</resources>
\ No newline at end of file |