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:51 UTC
[08/20] 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/ddea2cbb
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/ddea2cbb
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/ddea2cbb
Branch: refs/heads/GROOVY_2_5_X
Commit: ddea2cbb532741cf4ab032afbb1c641ea3dad1c5
Parents: b3e3f04
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 22:09:17 2017 +0100
----------------------------------------------------------------------
build.gradle | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/ddea2cbb/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index e72d044..9b9378a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -99,6 +99,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"]
}