From efe1567fe671ee44996a6da13018dc03d2dfbe19 Mon Sep 17 00:00:00 2001 From: Arnav Gupta Date: Sun, 26 Apr 2015 06:11:38 +0530 Subject: [PATCH] viewing logs of a minified build is a little inconvenient Signed-off-by: Arnav Gupta --- .travis.yml | 4 ++-- app/build.gradle | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0965595..b9d7efe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: android -script: ./gradlew clean assembleDebug +script: ./gradlew clean assembleRelease android: components: - platform-tools @@ -21,7 +21,7 @@ deploy: skip_cleanup: true api_key: secure: o4CPYfEDU/qSkERjPS00cvRpw+fCXf3kRv8iZtwYtqOoESF/Ck/uX6TVqVm6myc2Bw4y4NmWg9cLjbGKBAgzoGpPaTjhQeZfbqe0AbHnEn5bO5JJQHmOEp+El2muiB+Z8wnusCfyI9lvB761MN7Rij41KOLyDXHlEMrBXaUzpP8= - file: app/build/outputs/apk/app-debug.apk + file: app/build/outputs/apk/app-release.apk on: tags: true all_branches: true diff --git a/app/build.gradle b/app/build.gradle index df54038..34752fe 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -24,13 +24,15 @@ android { } buildTypes { debug { - minifyEnabled = true + minifyEnabled = false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' debuggable true signingConfig signingConfigs.debug } release { minifyEnabled true + debuggable false + signingConfig signingConfigs.debug proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } }