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:33 UTC
[12/19] groovy git commit: Cache asciidoctor tasks
Cache asciidoctor tasks
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/e111b8da
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/e111b8da
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/e111b8da
Branch: refs/heads/GROOVY_2_6_X
Commit: e111b8da7d2fb98b616f482dc2f37ede415bc311
Parents: 5528817
Author: Cedric Champeau <cc...@apache.org>
Authored: Mon Dec 11 11:32:56 2017 +0100
Committer: Cedric Champeau <cc...@apache.org>
Committed: Tue Dec 12 21:55:47 2017 +0100
----------------------------------------------------------------------
build.gradle | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/e111b8da/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index dd6d32e..41dd00b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -101,6 +101,10 @@ allprojects {
apply from: "${rootProject.projectDir}/gradle/asciidoctor.gradle"
}
+ tasks.withType(org.asciidoctor.gradle.AsciidoctorTask) {
+ outputs.cacheIf { true }
+ }
+
tasks.withType(GroovyCompile) {
groovyOptions.forkOptions.jvmArgs += ["-Dgroovy.antlr4.cache.threshold=50"]
}