Skip to content

Commit

Permalink
#21: Disable Java 11 Javadoc build.
Browse files Browse the repository at this point in the history
  • Loading branch information
jenetics committed Jul 21, 2019
1 parent 4b0e104 commit 866fa14
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ allprojects {
}
}

subprojects { Project prj ->
// The Javadoc doesn't work for
// openjdk version "11.0.2" 2018-10-16
// OpenJDK Runtime Environment 18.9 (build 11.0.2+7)
// OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+7, mixed mode
if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
prj.tasks.withType(Javadoc).all {
enabled = false
}
}
}

allprojects { Project prj ->
if (prj.plugins.hasPlugin('java')) {
sourceCompatibility = javaVersion
Expand Down

0 comments on commit 866fa14

Please sign in to comment.