X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=app%2Fbuild.gradle;h=8920a8fa07c1258e9ad9d5268a44af7374dac958;hb=eb9975b0163b51b68557af26b73b28a7d87a1b87;hp=4c0ec4d5c446f65f63f08b5a3742568f05e36fb7;hpb=8498a3be7602976764d5b707fda012519deb88b4;p=PrivacyBrowserAndroid.git diff --git a/app/build.gradle b/app/build.gradle index 4c0ec4d5..8920a8fa 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -20,22 +20,25 @@ apply plugin: 'com.android.application' android { - signingConfigs { - } - - compileSdkVersion 23 - buildToolsVersion "23.0.3" + compileSdkVersion 24 + buildToolsVersion "24.0.2" defaultConfig { applicationId "com.stoutner.privacybrowser" - minSdkVersion 15 - targetSdkVersion 23 - versionCode 7 - versionName "1.6" + minSdkVersion 19 + targetSdkVersion 24 + versionCode 12 + versionName "1.10" } buildTypes { + debug { + minifyEnabled false + shrinkResources false + } + release { minifyEnabled true + shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } @@ -49,11 +52,13 @@ android { applicationId "com.stoutner.privacybrowser.free" } } + // `return true` removes the lint error: `Not all execution paths return a value`. + return true } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:design:23.4.0' - // Only compile com.google.android.gms:play-services-ads for the free version. - freeCompile 'com.google.android.gms:play-services-ads:9.0.1' + compile 'com.android.support:design:24.2.1' + // Only compile `com.google.android.gms:play-services-ads` for the free flavor. + freeCompile 'com.google.android.gms:play-services-ads:9.4.0' }