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 22:07:18 UTC

[2/2] groovy git commit: Cache ensureGrammars task

Cache ensureGrammars task


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 8dd4a1a09457216f6c9e0d32d61ee8dc137c2303
Parents: bae6a5c
Author: Cedric Champeau <cc...@apache.org>
Authored: Tue Dec 12 23:06:54 2017 +0100
Committer: Cedric Champeau <cc...@apache.org>
Committed: Tue Dec 12 23:06:54 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/8dd4a1a0/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 1b3628e..179509f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -359,6 +359,7 @@ compileJava {
 }
 
 task ensureGrammars {
+    outputs.cacheIf { true }
     description = 'Ensure all the Antlr2 generated files are up to date.'
     ext.antlrDirectory = "$projectDir/src/main/org/codehaus/groovy/antlr"
     ext.groovyParserDirectory = "$ext.antlrDirectory/parser"