Skip to content

Commit

Permalink
fix javadocs x2
Browse files Browse the repository at this point in the history
  • Loading branch information
ham1255 committed May 12, 2024
1 parent 8b48736 commit 7128705
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions proxies/bungeecord/bungeecord-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 1 addition & 2 deletions proxies/velocity/velocity-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7128705

Please sign in to comment.