From b271d1de8d8bb7423e2cd0591ebcd8ab21044da4 Mon Sep 17 00:00:00 2001 From: ray Date: Sat, 27 Jan 2018 19:47:21 +0800 Subject: [PATCH] update gradle to 3.3.1 , focus maven to aliyun F*U*C*K GFW --- .idea/misc.xml | 2 +- .idea/runConfigurations.xml | 12 +++++ WeChatLuckyMoney.iml | 3 +- app/app.iml | 61 ++++++------------------ build.gradle | 5 +- gradle.properties | 6 ++- gradle/wrapper/gradle-wrapper.properties | 4 +- 7 files changed, 40 insertions(+), 53 deletions(-) create mode 100644 .idea/runConfigurations.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index 8ce21776..e53d66d2 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -27,7 +27,7 @@ - + diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml new file mode 100644 index 00000000..7f68460d --- /dev/null +++ b/.idea/runConfigurations.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/WeChatLuckyMoney.iml b/WeChatLuckyMoney.iml index cfb23148..96b0ac86 100644 --- a/WeChatLuckyMoney.iml +++ b/WeChatLuckyMoney.iml @@ -12,8 +12,9 @@ + - + \ No newline at end of file diff --git a/app/app.iml b/app/app.iml index e62d9277..ff5a60d2 100644 --- a/app/app.iml +++ b/app/app.iml @@ -9,7 +9,6 @@ - + @@ -47,7 +46,6 @@ - @@ -55,7 +53,6 @@ - @@ -63,7 +60,6 @@ - @@ -71,7 +67,6 @@ - @@ -79,14 +74,8 @@ - - - - - - @@ -96,44 +85,24 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/build.gradle b/build.gradle index bcc276c1..2bae98b8 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,11 @@ buildscript { repositories { jcenter() + maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/' } + maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'} } dependencies { - classpath 'com.android.tools.build:gradle:2.2.3' + classpath 'com.android.tools.build:gradle:3.0.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -15,5 +17,6 @@ buildscript { allprojects { repositories { jcenter() + maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} } } \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 26aa5d36..1ef48162 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,12 +5,14 @@ # # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -# Default value: -Xmx10248m -XX:MaxPermSize=256m +# Default value: -Xmx1024m -XX:MaxPermSize=256m # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 # # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -#Sat Jul 23 18:07:53 CST 2016 +#Sat Jan 27 19:37:03 CST 2018 +systemProp.http.proxyHost=127.0.0.1 +systemProp.http.proxyPort=1087 android.useDeprecatedNdk=true diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a75b41db..593bb86f 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Sat Jan 21 16:40:37 CST 2017 +#Sat Jan 27 19:41:50 CST 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip