1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-24 03:27:59 +01:00

javadocAll: Set source to sourceCompatibility to work around bug

in JDK 11. See https://bugs.openjdk.java.net/browse/JDK-8217177
This commit is contained in:
Florian Schmaus 2019-09-01 22:44:14 +02:00
parent 75625283ef
commit 1a7e2c1510

View file

@ -306,6 +306,12 @@ task javadocAll(type: Javadoc, dependsOn: copyAllJavadocDocFiles) {
project.sourceSets.main.compileClasspath})
classpath += files(androidBootClasspath)
options {
// Add source compatiblitiy statement to work around bug in JDK 11
// See
// - https://bugs.openjdk.java.net/browse/JDK-8217177
// - http://hg.openjdk.java.net/jdk/jdk/rev/8ce4083fc831
// - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920020
source = sourceCompatibility
linkSource = true
use = true
links = [