X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=app%2Fbuild.gradle;h=8920a8fa07c1258e9ad9d5268a44af7374dac958;hb=eb9975b0163b51b68557af26b73b28a7d87a1b87;hp=c215b003a2c7a174dca69a0ba8d334a441eab7ce;hpb=cdbd0fea022e075e46906307cbf889cac5325dd5;p=PrivacyBrowserAndroid.git diff --git a/app/build.gradle b/app/build.gradle index c215b003..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.2" + compileSdkVersion 24 + buildToolsVersion "24.0.2" defaultConfig { applicationId "com.stoutner.privacybrowser" - minSdkVersion 10 - targetSdkVersion 23 - versionCode 2 - versionName "1.1" + minSdkVersion 19 + targetSdkVersion 24 + versionCode 12 + versionName "1.10" } buildTypes { - release { + debug { minifyEnabled false + shrinkResources false + } + + release { + minifyEnabled true + shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } @@ -43,21 +46,19 @@ android { productFlavors { standard { applicationId "com.stoutner.privacybrowser.standard" - versionName "1.1-standard" } free { applicationId "com.stoutner.privacybrowser.free" - versionName "1.1-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:appcompat-v7:23.2.0' - compile 'com.android.support:design:23.2.0' - compile 'com.android.support:support-v4:23.2.0' - // Only compile com.google.android.gms:play-services-ads for the free version so that the standard version can build of F-Droid. - freeCompile 'com.google.android.gms:play-services-ads:8.4.0' + 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' }