Use the recommended option for groovydoc
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/6c5258bf Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/6c5258bf Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/6c5258bf Branch: refs/heads/GROOVY_2_6_X Commit: 6c5258bf1f94bd30738310cc69f356534dfe51be Parents: b2bb722 Author: sunlan <[email protected]> Authored: Sat Jun 10 13:08:58 2017 +0800 Committer: paulk <[email protected]> Committed: Tue Jun 13 15:35:52 2017 +1000 ---------------------------------------------------------------------- subprojects/groovy-console/build.gradle | 2 +- subprojects/parser-antlr4/README.adoc | 3 ++- subprojects/parser-antlr4/build.gradle | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/6c5258bf/subprojects/groovy-console/build.gradle ---------------------------------------------------------------------- diff --git a/subprojects/groovy-console/build.gradle b/subprojects/groovy-console/build.gradle index e40766e..bc38c53 100644 --- a/subprojects/groovy-console/build.gradle +++ b/subprojects/groovy-console/build.gradle @@ -28,7 +28,7 @@ dependencies { task console(type: JavaExec, dependsOn:classes) { if (rootProject.hasProperty('useAntlr4')) { - jvmArgs += ["-Dgroovy.antlr4=true", "-Dgroovy.extract.doc.comment=true"] + jvmArgs += ["-Dgroovy.antlr4=true", "-Dgroovy.attach.groovydoc=true"] } main = 'groovy.ui.Console' http://git-wip-us.apache.org/repos/asf/groovy/blob/6c5258bf/subprojects/parser-antlr4/README.adoc ---------------------------------------------------------------------- diff --git a/subprojects/parser-antlr4/README.adoc b/subprojects/parser-antlr4/README.adoc index 4170426..50a3639 100644 --- a/subprojects/parser-antlr4/README.adoc +++ b/subprojects/parser-antlr4/README.adoc @@ -53,7 +53,8 @@ groovyOptions.forkOptions.jvmArgs += ["-Dgroovy.antlr4=true"] === JVM system properties to control parsing * `groovy.antlr4.cache.threshold`: how frequently to clear DFA cache(default: 50). **Notice:** The more frequently the DFA cache is cleared, the poorer parsing performance will be(you can not set the value that is less than the default value). But the DFA cache has to be cleared to avoid OutOfMemoryError's occurring. -* `groovy.extract.doc.comment`: whether to collect groovydoc while parsing groovy source code(default: false) +* `groovy.attach.groovydoc`: whether to attach groovydoc to node as metadata while parsing groovy source code(default: false) +* `groovy.attach.runtime.groovydoc`: whether to attach `@Groovydoc` annotation to all members which have groovydoc(i.e. `/** ... */`). *P.S. Parrot is based on the highly optimized version of antlr4(com.tunnelvisionlabs:antlr4), which is licensed under BSD.* \ No newline at end of file http://git-wip-us.apache.org/repos/asf/groovy/blob/6c5258bf/subprojects/parser-antlr4/build.gradle ---------------------------------------------------------------------- diff --git a/subprojects/parser-antlr4/build.gradle b/subprojects/parser-antlr4/build.gradle index c955408..1d52b2c 100644 --- a/subprojects/parser-antlr4/build.gradle +++ b/subprojects/parser-antlr4/build.gradle @@ -73,5 +73,5 @@ allprojects { } test { - jvmArgs "-Dgroovy.extract.doc.comment=true", "-Dgroovy.antlr4.cache.threshold=100" + jvmArgs "-Dgroovy.attach.groovydoc=true", "-Dgroovy.antlr4.cache.threshold=100" } \ No newline at end of file
