Created
February 22, 2017 04:38
-
-
Save zhEdward/0059df7ef5817125f6a42f91437aba9d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Project-wide Gradle settings. | |
# | |
# For more details on how to configure your build environment visit | |
# http://www.gradle.org/docs/current/userguide/build_environment.html | |
# | |
# Specifies the JVM arguments used for the daemon process. | |
# The setting is particularly useful for tweaking memory settings. | |
# 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 | |
#Tue Sep 06 04:33:31 CST 2016 | |
# original port is :18030 | |
# 针对当前gradle 设置运行内存 ,socks5 代理(针对是 dependecies 无法下载问题) | |
org.gradle.jvmargs=-Xmx2584M -DsocksProxyHost=127.0.0.1 -DsocksProxyPort=1080 | |
# https://docs.gradle.org/current/userguide/gradle_daemon.html | |
# 针对当前项目加快编译速度 | |
org.gradle.daemon=true | |
# 设置https/http代理 (本地开启ss) | |
# https://docs.gradle.org/current/userguide/build_environment.html#sec:accessing_the_web_via_a_proxy | |
# http://docs.oracle.com/javase/7/docs/technotes/guides/net/properties.html | |
# 如上 设置了 socks代理 就不需要设置 如下2句 | |
# systemProp.https.proxyHost=127.0.0.1 | |
# systemProp.https.proxyPort=1080 | |
# systemProp.http.proxyHost=127.0.0.1 | |
# systemProp.http.proxyPort=1080 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment