1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00

build.gradle: Make javadocAll options use scope

This commit is contained in:
Florian Schmaus 2018-08-02 17:01:49 +02:00
parent 51e800c034
commit c9fb3cc792

View file

@ -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