]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/build.gradle
Fix duplication of images for localizations. Updated German translation provided...
[PrivacyBrowserAndroid.git] / app / build.gradle
index dffcddd97fa45be6f378fa4f43c78f17b65fa9e3..8e28fdd4e67866c499e26030543d580c25d47755 100644 (file)
 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 5
-        versionName "1.4"
+        minSdkVersion 19
+        targetSdkVersion 24
+        versionCode 12
+        versionName "1.10"
     }
 
     buildTypes {
+        debug {
+            minifyEnabled false
+            shrinkResources false
+        }
+
         release {
             minifyEnabled true
+            shrinkResources true
             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
         }
     }
@@ -49,11 +51,14 @@ android {
             applicationId "com.stoutner.privacybrowser.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:design:23.3.0'
-    // Only compile com.google.android.gms:play-services-ads for the free version.
-    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'
 }