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:
parent
75625283ef
commit
1a7e2c1510
1 changed files with 6 additions and 0 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue