You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by cc...@apache.org on 2017/12/12 20:56:26 UTC

[05/19] groovy git commit: Make generateGrammarSource cacheable

Make generateGrammarSource cacheable


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 8b5cebfd4b8dfac2a51b080f10fba0541dc6d32d
Parents: 74a763f
Author: Cedric Champeau <cc...@apache.org>
Authored: Sun Dec 10 19:42:00 2017 +0100
Committer: Cedric Champeau <cc...@apache.org>
Committed: Tue Dec 12 21:55:47 2017 +0100

----------------------------------------------------------------------
 subprojects/parser-antlr4/build.gradle | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/8b5cebfd/subprojects/parser-antlr4/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/build.gradle b/subprojects/parser-antlr4/build.gradle
index d358eec..085ee12 100644
--- a/subprojects/parser-antlr4/build.gradle
+++ b/subprojects/parser-antlr4/build.gradle
@@ -32,6 +32,7 @@ def srcTest = "$srcBase/test"
 
 final PARSER_PACKAGE_NAME = 'org.apache.groovy.parser.antlr4'
 generateGrammarSource {
+    outputs.cacheIf { true }
     arguments += ["-visitor", "-no-listener", "-package", PARSER_PACKAGE_NAME]
 
     doLast {