groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cchamp...@apache.org
Subject [2/2] groovy git commit: Cache ensureGrammars task
Date Tue, 12 Dec 2017 22:07:18 GMT
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 <cchampeau@apache.org>
Authored: Tue Dec 12 23:06:54 2017 +0100
Committer: Cedric Champeau <cchampeau@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"


Mime
View raw message