apply plugin: 'com.android.application'
android {
- signingConfigs {
- }
-
- compileSdkVersion 23
- buildToolsVersion "23.0.2"
+ compileSdkVersion 24
+ buildToolsVersion "24.0.2"
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'
}
}
productFlavors {
standard {
applicationId "com.stoutner.privacybrowser.standard"
- versionName "1.1-standard"
}
free {
applicationId "com.stoutner.privacybrowser.free"
- versionName "1.1-free"
}
}
+ // `return true` removes the lint error: `Not all execution paths return a value`.
+ return true
}
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.4.0'
}