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/11 19:25:18 UTC

[04/13] 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/113eae7f
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/113eae7f
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/113eae7f

Branch: refs/heads/master
Commit: 113eae7f8981f598fd8510587527366a49442ded
Parents: 0d1890c
Author: Cedric Champeau <cc...@apache.org>
Authored: Sun Dec 10 19:42:00 2017 +0100
Committer: Cedric Champeau <cc...@apache.org>
Committed: Mon Dec 11 19:17:11 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/113eae7f/subprojects/parser-antlr4/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/build.gradle b/subprojects/parser-antlr4/build.gradle
index bbfcc3b..214d4d6 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 {