mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 08:12:05 +01:00
build.gradle: Make javadocAll options use scope
This commit is contained in:
parent
51e800c034
commit
c9fb3cc792
1 changed files with 5 additions and 3 deletions
|
@ -234,13 +234,15 @@ task javadocAll(type: Javadoc) {
|
||||||
classpath = files(subprojects.collect {project ->
|
classpath = files(subprojects.collect {project ->
|
||||||
project.sourceSets.main.compileClasspath})
|
project.sourceSets.main.compileClasspath})
|
||||||
classpath += files(androidBootClasspath)
|
classpath += files(androidBootClasspath)
|
||||||
options.linkSource = true
|
options {
|
||||||
options.use = true
|
linkSource = true
|
||||||
options.links = [
|
use = true
|
||||||
|
links = [
|
||||||
"https://docs.oracle.com/javase/${sourceCompatibility.getMajorVersion()}/docs/api/",
|
"https://docs.oracle.com/javase/${sourceCompatibility.getMajorVersion()}/docs/api/",
|
||||||
"https://jxmpp.org/releases/$jxmppVersion/javadoc/",
|
"https://jxmpp.org/releases/$jxmppVersion/javadoc/",
|
||||||
"https://minidns.org/releases/$miniDnsVersion/javadoc/",
|
"https://minidns.org/releases/$miniDnsVersion/javadoc/",
|
||||||
] as String[]
|
] as String[]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
import org.apache.tools.ant.filters.ReplaceTokens
|
import org.apache.tools.ant.filters.ReplaceTokens
|
||||||
|
|
Loading…
Reference in a new issue