Skip to content

Commit

Permalink
Only use the doclint option when compiling with Java 8.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/ace/trunk@1727566 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Jan Willem Janssen committed Jan 29, 2016
1 parent 047e27f commit 828df17
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build.gradle
Expand Up @@ -32,13 +32,16 @@ subprojects {
def bndProject = bndWorkspace.getProject(name)
if (bndProject != null) {
plugins.apply 'biz.aQute.bnd'

test {
useTestNG()
}

tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
def runningJVM = JavaVersion.current().toString()
if (runningJVM.matches("1\\.8.*")) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}

Expand Down

0 comments on commit 828df17

Please sign in to comment.