]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/build.gradle
Release version 1.2.
[PrivacyBrowserAndroid.git] / app / build.gradle
1 /**
2  * Copyright 2016 Soren Stoutner <soren@stoutner.com>.
3  *
4  * This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
5  *
6  * Privacy Browser is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * Privacy Browser is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>.
18  */
19
20 apply plugin: 'com.android.application'
21
22 android {
23     signingConfigs {
24     }
25
26     compileSdkVersion 23
27     buildToolsVersion "23.0.3"
28     defaultConfig {
29         applicationId "com.stoutner.privacybrowser"
30         minSdkVersion 15
31         targetSdkVersion 23
32         versionCode 3
33         versionName "1.2"
34     }
35
36     buildTypes {
37         release {
38             minifyEnabled false
39             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
40         }
41     }
42
43     productFlavors {
44         standard {
45             applicationId "com.stoutner.privacybrowser.standard"
46             versionName "1.1-standard"
47         }
48
49         free {
50             applicationId "com.stoutner.privacybrowser.free"
51             versionName "1.1-free"
52         }
53     }
54 }
55
56 dependencies {
57     compile fileTree(dir: 'libs', include: ['*.jar'])
58     compile 'com.android.support:appcompat-v7:23.2.1'
59     compile 'com.android.support:design:23.2.1'
60     compile 'com.android.support:support-v4:23.2.1'
61     // Only compile com.google.android.gms:play-services-ads for the free version so that the standard version can build of F-Droid.
62     freeCompile 'com.google.android.gms:play-services-ads:8.4.0'
63 }