mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-22 04:08:02 +00:00
fix javadocs x2
This commit is contained in:
parent
8b48736bc1
commit
71287055b4
@ -23,14 +23,13 @@ java {
|
||||
tasks {
|
||||
withType<Javadoc> {
|
||||
dependsOn(project(":RedisBungee-API").getTasksByName("javadoc", false))
|
||||
val path = project(":RedisBungee-API").projectDir
|
||||
val options = options as StandardJavadocDocletOptions
|
||||
options.use()
|
||||
options.isDocFilesSubDirs = true
|
||||
options.links(
|
||||
"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)
|
||||
}
|
||||
compileJava {
|
||||
|
@ -30,14 +30,13 @@ java {
|
||||
tasks {
|
||||
withType<Javadoc> {
|
||||
dependsOn(project(":RedisBungee-API").getTasksByName("javadoc", false))
|
||||
val path = project(":RedisBungee-API").projectDir
|
||||
val options = options as StandardJavadocDocletOptions
|
||||
options.use()
|
||||
options.isDocFilesSubDirs = true
|
||||
options.links(
|
||||
"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)
|
||||
}
|
||||
compileJava {
|
||||
|
Loading…
Reference in New Issue
Block a user