X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=app%2Fbuild.gradle;h=823eb5e86be9be0f25bd938a127aebca897025df;hb=e4395e4c0786da8ce5c00cb2762e78ad706e86db;hp=1c50e116b6369abca7efd1354c699772c317111e;hpb=f08bab53708e4b811e438c3bb803232df51ebbcc;p=PrivacyBrowserAndroid.git diff --git a/app/build.gradle b/app/build.gradle index 1c50e116..823eb5e8 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.2" + compileSdkVersion 24 + buildToolsVersion "24.0.3" 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 +45,20 @@ android { productFlavors { standard { applicationId "com.stoutner.privacybrowser.standard" - versionName "1.1-standard" } free { applicationId "com.stoutner.privacybrowser.free" - versionName "1.1-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:appcompat-v7:23.2.1' - compile 'com.android.support:design:23.2.1' - compile 'com.android.support:support-v4:23.2.1' - // 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.8.00' }