[testng] 55/160: Turn off the stupidly verbose Javadoc warnings for Java 8.
Eugene Zhukov
eugene-guest at moszumanska.debian.org
Tue Aug 18 10:22:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
eugene-guest pushed a commit to annotated tag testng-6.9.5
in repository testng.
commit 8771b43ff24110c794fc9045d2d24268dc35bb39
Author: Cedric Beust <cedric at beust.com>
Date: Sun May 31 14:15:43 2015 -0700
Turn off the stupidly verbose Javadoc warnings for Java 8.
Which we could do that for Java 7 too :-(
---
build.gradle | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/build.gradle b/build.gradle
index e2d2784..ba559f3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -128,3 +128,11 @@ test {
systemProperties = System.getProperties()
systemProperties['test.resources.dir'] = 'build/resources/test/'
}
+
+if (JavaVersion.current().isJava8Compatible()) {
+ allprojects {
+ tasks.withType(Javadoc) {
+ options.addStringOption('Xdoclint:none', '-quiet')
+ }
+ }
+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git
More information about the pkg-java-commits
mailing list