You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dante Sun edited this page Jan 28, 2021
·
3 revisions
gng.cfg
gw script will automatically find GRADLE_OPTS configuration in project_root/gradle/gng.cfg. For example, I use gwo_agent for some specific Gradle projects.
❯ cat gradle/gng.cfg
# Configuration file of gng
# 1. key/value pair is separated using '='
# 2. Line starts with '#' will be ignored.
# 3. Empty line is ignored
# 4. Variable Substitution based on envsubst. 'envsubst' is from GNU gettext utilities.
# Please visit https://command-not-found.com/envsubst to find out how to install it
# 5. 'envsubst' is strongly recommended. But it is not mandatory. You can still configure 'gng' using plain values.
gwo_agent_jar=${HOME}/.gradle/gwo-agent.jar
mirror_url=http://repo.dsun.org/repoistory/gradle-distribution
official_url=https://services.gradle.org/distributions
GRADLE_OPTS=-javaagent:${gwo_agent_jar}=distributionUrl~=@${official_url}@${mirror_url}@