1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-24 15:22:07 +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}) project.sourceSets.main.compileClasspath})
classpath += files(androidBootClasspath) classpath += files(androidBootClasspath)
options { 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 linkSource = true
use = true use = true
links = [ links = [