groovy git commit: minor refactor for build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

groovy git commit: minor refactor for build

paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X dddd57e54 -> 496dbaa4d


minor refactor for build


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 496dbaa4dc68e7c969e1d05b4dbf45732c8e64d0
Parents: dddd57e
Author: paulk <[hidden email]>
Authored: Wed Sep 13 00:38:18 2017 +1000
Committer: paulk <[hidden email]>
Committed: Wed Sep 13 00:38:35 2017 +1000

----------------------------------------------------------------------
 build.gradle                           | 7 -------
 subprojects/parser-antlr4/build.gradle | 7 +++++++
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/496dbaa4/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 8de2ac6..b7ec76a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -323,13 +323,6 @@ sourceSets {
 }
 
 apply from: 'subprojects/parser-antlr4/build.gradle'
-sourceSets {
-    main {
-        antlr {
-            srcDirs = ['src/antlr']
-        }
-    }
-}
 
 // make sure examples can be compiled, even if we don't run them
 // todo: reorganize examples so that we can run them too

http://git-wip-us.apache.org/repos/asf/groovy/blob/496dbaa4/subprojects/parser-antlr4/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/build.gradle b/subprojects/parser-antlr4/build.gradle
index a2a28a3..d1fd1d0 100644
--- a/subprojects/parser-antlr4/build.gradle
+++ b/subprojects/parser-antlr4/build.gradle
@@ -19,6 +19,13 @@
 if (!rootProject.hasProperty('useAntlr4')) return
 
 apply plugin: 'antlr'
+sourceSets {
+    main {
+        antlr {
+            srcDirs = ['src/antlr']
+        }
+    }
+}
 
 def srcBase = "subprojects/parser-antlr4/src"
 def srcMain = "$srcBase/main"