]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/build.gradle
Bump target API to 24, which includes multi-window support.
[PrivacyBrowserAndroid.git] / app / build.gradle
index 1bbde24828e24fbe872133cf890c23dbb382e5f7..8920a8fa07c1258e9ad9d5268a44af7374dac958 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 19
-        targetSdkVersion 23
+        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 +52,13 @@ android {
             applicationId "com.stoutner.privacybrowser.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:design:23.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'
 }