X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=app%2Fbuild.gradle;h=8e28fdd4e67866c499e26030543d580c25d47755;hb=fd9ff6a6ce478729b4793e9900d7c745a09ee3d8;hp=ed3da87c482afa54ee5fb4319c51a4b8c930398a;hpb=347e702f50a02782add9400afa552fbee1cf7ab6;p=PrivacyBrowserAndroid.git diff --git a/app/build.gradle b/app/build.gradle index ed3da87c..8e28fdd4 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.2" defaultConfig { - applicationId "com.stoutner.privacybrowser" minSdkVersion 19 - targetSdkVersion 23 - versionCode 8 - versionName "1.7" + 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.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.2' + 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' }