mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-09 14:38:01 +00:00
fix javadocs x2
This commit is contained in:
parent
8b48736bc1
commit
71287055b4
@ -23,14 +23,13 @@ java {
|
|||||||
tasks {
|
tasks {
|
||||||
withType<Javadoc> {
|
withType<Javadoc> {
|
||||||
dependsOn(project(":RedisBungee-API").getTasksByName("javadoc", false))
|
dependsOn(project(":RedisBungee-API").getTasksByName("javadoc", false))
|
||||||
val path = project(":RedisBungee-API").projectDir
|
|
||||||
val options = options as StandardJavadocDocletOptions
|
val options = options as StandardJavadocDocletOptions
|
||||||
options.use()
|
options.use()
|
||||||
options.isDocFilesSubDirs = true
|
options.isDocFilesSubDirs = true
|
||||||
options.links(
|
options.links(
|
||||||
"https://ci.md-5.net/job/BungeeCord/ws/api/target/apidocs/", // bungeecord api
|
"https://ci.md-5.net/job/BungeeCord/ws/api/target/apidocs/", // bungeecord api
|
||||||
)
|
)
|
||||||
val apiDocs = File(rootProject.projectDir, "$path/build/docs/javadoc")
|
val apiDocs = File(rootProject.projectDir, "api/build/docs/javadoc")
|
||||||
options.linksOffline("https://ci.limework.net/ValioBungee/api/build/docs/javadoc", apiDocs.path)
|
options.linksOffline("https://ci.limework.net/ValioBungee/api/build/docs/javadoc", apiDocs.path)
|
||||||
}
|
}
|
||||||
compileJava {
|
compileJava {
|
||||||
|
@ -30,14 +30,13 @@ java {
|
|||||||
tasks {
|
tasks {
|
||||||
withType<Javadoc> {
|
withType<Javadoc> {
|
||||||
dependsOn(project(":RedisBungee-API").getTasksByName("javadoc", false))
|
dependsOn(project(":RedisBungee-API").getTasksByName("javadoc", false))
|
||||||
val path = project(":RedisBungee-API").projectDir
|
|
||||||
val options = options as StandardJavadocDocletOptions
|
val options = options as StandardJavadocDocletOptions
|
||||||
options.use()
|
options.use()
|
||||||
options.isDocFilesSubDirs = true
|
options.isDocFilesSubDirs = true
|
||||||
options.links(
|
options.links(
|
||||||
"https://jd.papermc.io/velocity/3.0.0/", // velocity api
|
"https://jd.papermc.io/velocity/3.0.0/", // velocity api
|
||||||
)
|
)
|
||||||
val apiDocs = File(rootProject.projectDir, "$path/build/docs/javadoc")
|
val apiDocs = File(rootProject.projectDir, "api/build/docs/javadoc")
|
||||||
options.linksOffline("https://ci.limework.net/ValioBungee/api/build/docs/javadoc", apiDocs.path)
|
options.linksOffline("https://ci.limework.net/ValioBungee/api/build/docs/javadoc", apiDocs.path)
|
||||||
}
|
}
|
||||||
compileJava {
|
compileJava {
|
||||||
|
Loading…
Reference in New Issue
Block a user