Merge pull request #227 from davidB/fix_javadoc

build: quick fix to run javadoc with jdk < 1.8
experimental
normen 10 years ago
commit a73eb57f73
  1. 2
      common.gradle

@ -37,8 +37,10 @@ javadoc {
options.author = "true" options.author = "true"
options.use = "true" options.use = "true"
//disable doclint for JDK8, more quiet output //disable doclint for JDK8, more quiet output
if (JavaVersion.current().isJava8Compatible()){
options.addStringOption('Xdoclint:none', '-quiet') options.addStringOption('Xdoclint:none', '-quiet')
} }
}
task sourcesJar(type: Jar, dependsOn: classes, description: 'Creates a jar from the source files.') { task sourcesJar(type: Jar, dependsOn: classes, description: 'Creates a jar from the source files.') {
classifier = 'sources' classifier = 'sources'

Loading…
Cancel
Save