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:08:02 UTC

[19/20] groovy git commit: Make `ensureGrammars` cacheable

Make `ensureGrammars` cacheable


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 4716b7ba7468e6925ae1d685791319402ea0668f
Parents: 9b20eba
Author: Cedric Champeau <cc...@apache.org>
Authored: Tue Dec 12 22:16:37 2017 +0100
Committer: Cedric Champeau <cc...@apache.org>
Committed: Tue Dec 12 22:17:08 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/4716b7ba/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 4674e55..c9cdcbd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -357,6 +357,7 @@ compileJava {
 }
 
 task ensureGrammars {
+    outputs.cacheIf { true }
     description = 'Ensure all the Antlr generated files are up to date.'
     ext.antlrDirectory = "$projectDir/src/main/org/codehaus/groovy/antlr"
     ext.groovyParserDirectory = "$ext.antlrDirectory/parser"