This is an automated email from the ASF dual-hosted git repository. sunlan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push: new a8a7bde Trivial refactoring for build scripts a8a7bde is described below commit a8a7bdebdf3a3f78ab0caee98685612e1ed2b69b Author: Daniel Sun <sun...@apache.org> AuthorDate: Sun Jan 20 02:14:48 2019 +0800 Trivial refactoring for build scripts --- build.gradle | 2 +- subprojects/parser-antlr4/build.gradle | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 36db7ba..38ae880 100644 --- a/build.gradle +++ b/build.gradle @@ -318,7 +318,7 @@ task ensureGrammars { } compileJava { - dependsOn ensureGrammars + dependsOn ensureGrammars, generateGrammarSource options.fork(memoryMaximumSize: javacMain_mx) doLast { diff --git a/subprojects/parser-antlr4/build.gradle b/subprojects/parser-antlr4/build.gradle index f69c40b..c2bb3b2 100644 --- a/subprojects/parser-antlr4/build.gradle +++ b/subprojects/parser-antlr4/build.gradle @@ -53,8 +53,6 @@ generateGrammarSource { } } -compileJava.dependsOn generateGrammarSource - configurations { compile { extendsFrom = extendsFrom.findAll { it != configurations.antlr2 }