Repository: groovy
Updated Branches:
  refs/heads/master 548ac7e56 -> f628fcb36


Clean the build script


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/f628fcb3
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/f628fcb3
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/f628fcb3

Branch: refs/heads/master
Commit: f628fcb36935982f4f376bd5259d3b52f0dd7f96
Parents: 548ac7e
Author: sunlan <sun...@apache.org>
Authored: Wed Aug 30 12:49:04 2017 +0800
Committer: sunlan <sun...@apache.org>
Committed: Wed Aug 30 12:49:04 2017 +0800

----------------------------------------------------------------------
 build.gradle | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/f628fcb3/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index bc9f157..35a333f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -88,7 +88,7 @@ allprojects {
     group = 'org.codehaus.groovy'
     version = groovyVersion
     repositories {
-        if (!InetAddress.getByName('www.google.com').isReachable(3000)) {
+        if (!InetAddress.getByName('twitter.com').isReachable(3000)) {
             // Try to use Aliyun maven repository when building in China
             maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
         }
@@ -255,8 +255,6 @@ dependencies {
         exclude(module: 'geronimo-j2ee-connector_1.5_spec')
     }
 
-// TODO use antlr plugin
-//    antlr "antlr:antlr:$antlrVersion"
     antlr2 "org.apache.ant:ant-antlr:$antVersion"
 
     testCompile project(':groovy-ant')

Reply via email to