X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=app%2Fbuild.gradle;h=8e28fdd4e67866c499e26030543d580c25d47755;hb=fd9ff6a6ce478729b4793e9900d7c745a09ee3d8;hp=0c42440c3c67d50ecb24153cfc5bf96414c33919;hpb=bde6908fee004715f0125ab2d51016dd63a956f4;p=PrivacyBrowserAndroid.git diff --git a/app/build.gradle b/app/build.gradle index 0c42440c..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 15 - targetSdkVersion 23 - versionCode 3 - versionName "1.2" + 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.6.1' }