X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fbuild.gradle;h=8764284ed94601537e08159c3f59bdf4d6cdf87f;hp=8b0f695b61fbd87e50cdfb5b214446f0ba5bccf0;hb=80ddcb075d03a4c78263d1ff80466f3df0967f6d;hpb=bf644cc5270aca79529a87f19cbd04d3f5313f32 diff --git a/app/build.gradle b/app/build.gradle index 8b0f695b..8764284e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,5 @@ -/** - * Copyright 2016 Soren Stoutner . +/* + * Copyright © 2016-2017 Soren Stoutner . * * This file is part of Privacy Browser . * @@ -20,22 +20,24 @@ apply plugin: 'com.android.application' android { - signingConfigs { - } - - compileSdkVersion 23 - buildToolsVersion "23.0.3" + compileSdkVersion 25 + buildToolsVersion "25.0.3" defaultConfig { - applicationId "com.stoutner.privacybrowser" minSdkVersion 19 - targetSdkVersion 23 - versionCode 8 - versionName "1.7" + targetSdkVersion 25 + versionCode 25 + versionName "2.5" } buildTypes { + debug { + minifyEnabled false + shrinkResources false + } + release { minifyEnabled true + shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } @@ -52,8 +54,13 @@ android { } 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 flavor. - freeCompile 'com.google.android.gms:play-services-ads:9.2.1' + compile fileTree(include: ['*.jar'], dir: 'libs') + compile 'com.android.support:design:25.3.1' + + // Only compile `com.google.firebase:firebase-ads:9.8.0` for the free flavor. + freeCompile 'com.google.firebase:firebase-ads:9.8.0' } + +// Google's documentation says the following line is required for `firebase-ads` but things work correctly without it. I have no interest in applying the Google Mobile Services plugin in the standard flavor if I don't have to. +// I suspect that in the free flavor `firebase-ads` applies it even when not specified. . +// apply plugin: 'com.google.gms.google-services' \ No newline at end of file