You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2017/08/23 00:14:37 UTC
groovy git commit: Set dfa cache threshold for build
Repository: groovy
Updated Branches:
refs/heads/master 0463db2a0 -> da8496d1e
Set dfa cache threshold for build
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/da8496d1
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/da8496d1
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/da8496d1
Branch: refs/heads/master
Commit: da8496d1ee23eac43ee13d356c541e39def9b7cf
Parents: 0463db2
Author: sunlan <su...@apache.org>
Authored: Wed Aug 23 08:14:32 2017 +0800
Committer: sunlan <su...@apache.org>
Committed: Wed Aug 23 08:14:32 2017 +0800
----------------------------------------------------------------------
build.gradle | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/da8496d1/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 9d4d2a7..941aebc 100644
--- a/build.gradle
+++ b/build.gradle
@@ -103,6 +103,10 @@ allprojects {
if (JavaVersion.current().java7Compatible) {
apply from: "${rootProject.projectDir}/gradle/asciidoctor.gradle"
}
+
+ tasks.withType(GroovyCompile) {
+ groovyOptions.forkOptions.jvmArgs += ["-Dgroovy.antlr4.cache.threshold=100"]
+ }
}
// todo: use the conventional "resources" directory for classpath resources