2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-12-22 18:18:01 +00:00

remove java docs from proxy impl

This commit is contained in:
mohammed jasem alaajel 2024-05-13 02:33:56 +04:00
parent 7c1c1183cf
commit a2e6aff4c2
Signed by: ham1255
GPG Key ID: EF343502046229F4
2 changed files with 3 additions and 16 deletions

View File

@ -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"
@ -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") {

View File

@ -15,6 +15,9 @@ dependencies {
description = "RedisBungee Velocity implementation"
java {
withSourcesJar()
}
tasks {
runVelocity {