X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=app%2Fbuild.gradle;h=c215b003a2c7a174dca69a0ba8d334a441eab7ce;hb=cdbd0fea022e075e46906307cbf889cac5325dd5;hp=b0169cd584aff207911f8e2498c8d7bf517ed9dd;hpb=4e087dd6a40ef24878a308c0c9d3102d8b1acdd7;p=PrivacyBrowserAndroid.git diff --git a/app/build.gradle b/app/build.gradle index b0169cd5..c215b003 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,7 +1,7 @@ /** * Copyright 2016 Soren Stoutner . * - * This file is part of Privacy Browser. + * This file is part of Privacy Browser . * * Privacy Browser is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,30 +22,33 @@ apply plugin: 'com.android.application' android { signingConfigs { } + compileSdkVersion 23 buildToolsVersion "23.0.2" defaultConfig { applicationId "com.stoutner.privacybrowser" minSdkVersion 10 targetSdkVersion 23 - versionCode 1 - versionName "1.0" + versionCode 2 + versionName "1.1" } + buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } + productFlavors { standard { applicationId "com.stoutner.privacybrowser.standard" - versionName "1.0-standard" + versionName "1.1-standard" } free { applicationId "com.stoutner.privacybrowser.free" - versionName "1.0-free" + versionName "1.1-free" } } } @@ -55,5 +58,6 @@ dependencies { compile 'com.android.support:appcompat-v7:23.2.0' compile 'com.android.support:design:23.2.0' compile 'com.android.support:support-v4:23.2.0' - compile 'com.google.android.gms:play-services-ads:8.4.0' + // 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' }