Skip to content

Commit

Permalink
remove java docs from proxy impl
Browse files Browse the repository at this point in the history
  • Loading branch information
ham1255 committed May 12, 2024
1 parent 7c1c118 commit a2e6aff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
16 changes: 0 additions & 16 deletions proxies/bungeecord/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,10 @@ dependencies {
description = "RedisBungee Bungeecord implementation"

java {
withJavadocJar()
withSourcesJar()
}


tasks {
withType<Javadoc> {
dependsOn(project(":RedisBungee-API").getTasksByName("javadoc", false))
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, "RedisBungee-API/build/docs/javadoc")
options.linksOffline("https://ci.limework.net/RedisBungee/RedisBungee-API/build/docs/javadoc", apiDocs.path)
}
runWaterfall {
waterfallVersion("1.20")
environment["REDISBUNGEE_PROXY_ID"] = "bungeecord-1"
Expand All @@ -46,9 +33,6 @@ tasks {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
javadoc {
options.encoding = Charsets.UTF_8.name()
}
processResources {
filteringCharset = Charsets.UTF_8.name()
filesMatching("plugin.yml") {
Expand Down
3 changes: 3 additions & 0 deletions proxies/velocity/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ dependencies {

description = "RedisBungee Velocity implementation"

java {
withSourcesJar()
}

tasks {
runVelocity {
Expand Down

0 comments on commit a2e6aff

Please sign in to comment.