X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=app%2Fbuild.gradle;h=3f2a08d4bd4520c8bb76de7a2aba159bba7404e0;hb=9a1be859899abe1eb75637c1ea6b817afee723b1;hp=119de8c5165960fef705b8550f2e9f1b8e7a3ad2;hpb=b0a048867d5582bc693ba8699a75aa93b4fa1b69;p=PrivacyBrowserAndroid.git diff --git a/app/build.gradle b/app/build.gradle index 119de8c5..3f2a08d4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -20,22 +20,24 @@ apply plugin: 'com.android.application' android { - signingConfigs { - } - - compileSdkVersion 23 - buildToolsVersion "23.0.3" + compileSdkVersion 24 + buildToolsVersion "24.0.3" defaultConfig { - applicationId "com.stoutner.privacybrowser" - minSdkVersion 15 - targetSdkVersion 23 - versionCode 6 - versionName "1.5" + 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 +51,14 @@ android { applicationId "com.stoutner.privacybrowser.free" } } + + // `return void` removes the lint error: `Not all execution paths return a value`. + return void } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:design:23.3.0' - // Only compile com.google.android.gms:play-services-ads for the free version. - 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.6.1' }