[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] update to latest build tools and gradle



commit 750a282e2087310c08b1a91dd6a111e36bdf7f5f
Author: n8fr8 <nathan@xxxxxxxxxxx>
Date:   Tue Oct 31 09:42:01 2017 -0400

    update to latest build tools and gradle
    - add new flavordimension tag
---
 app/build.gradle                         | 7 ++++++-
 build.gradle                             | 2 +-
 gradle/wrapper/gradle-wrapper.properties | 4 ++--
 jsocksAndroid/build.gradle               | 2 +-
 orbotservice/build.gradle                | 2 +-
 5 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/app/build.gradle b/app/build.gradle
index d8da8a1a..9ee6da95 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
 
 android {
     compileSdkVersion 25
-    buildToolsVersion "25"
+    buildToolsVersion '26.0.2'
     defaultConfig {
         applicationId "org.torproject.android"
         minSdkVersion 16
@@ -20,8 +20,12 @@ android {
             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
         }
     }
+
+    flavorDimensions "free"
+
     productFlavors {
         minimalperm {
+            dimension "free"
             minSdkVersion 16
             applicationId 'org.torproject.android'
             targetSdkVersion 23
@@ -30,6 +34,7 @@ android {
             versionName '15.5.0-RC-1-multi-SDK16'
         }
         fullperm {
+            dimension "free"
             minSdkVersion 23
             applicationId 'org.torproject.android'
             targetSdkVersion 25
diff --git a/build.gradle b/build.gradle
index 8674409c..85852420 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ buildscript {
         jcenter()
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:2.3.3'
+        classpath 'com.android.tools.build:gradle:3.0.0'
     }
 }
 
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 1b8daf6c..c77faa60 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Sun Mar 19 08:31:31 EDT 2017
+#Tue Oct 31 09:37:18 EDT 2017
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
diff --git a/jsocksAndroid/build.gradle b/jsocksAndroid/build.gradle
index b3c2e0ad..12c743fd 100644
--- a/jsocksAndroid/build.gradle
+++ b/jsocksAndroid/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
 
 android {
     compileSdkVersion 25
-    buildToolsVersion "25"
+    buildToolsVersion '26.0.2'
 
     defaultConfig {
         minSdkVersion 8
diff --git a/orbotservice/build.gradle b/orbotservice/build.gradle
index 12407532..82a6aa78 100644
--- a/orbotservice/build.gradle
+++ b/orbotservice/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
 
 android {
     compileSdkVersion 25
-    buildToolsVersion "25"
+    buildToolsVersion '26.0.2'
 
     sourceSets {
         main {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits