mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2025-04-20 01:27:07 +00:00
finish up javadocs / maven publications
This commit is contained in:
parent
773adc8e23
commit
bf3c7ea8e8
@ -60,3 +60,10 @@ tasks {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
create<MavenPublication>("maven") {
|
||||||
|
from(components["java"])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -10,13 +10,13 @@ repositories {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } // bungeecord
|
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } // bungeecord
|
||||||
}
|
}
|
||||||
|
val bungeecordApiVersion = "1.19-R0.1-SNAPSHOT"
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":RedisBungee-API")) {
|
api(project(":RedisBungee-API")) {
|
||||||
exclude("com.google.guava", "guava")
|
exclude("com.google.guava", "guava")
|
||||||
exclude("com.google.code.gson", "gson")
|
exclude("com.google.code.gson", "gson")
|
||||||
}
|
}
|
||||||
compileOnly("net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT")
|
compileOnly("net.md-5:bungeecord-api:$bungeecordApiVersion")
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "RedisBungee Bungeecord implementation"
|
description = "RedisBungee Bungeecord implementation"
|
||||||
@ -26,9 +26,15 @@ java {
|
|||||||
withSourcesJar()
|
withSourcesJar()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
withType<Javadoc> {
|
withType<Javadoc> {
|
||||||
|
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
|
||||||
|
)
|
||||||
}
|
}
|
||||||
runWaterfall {
|
runWaterfall {
|
||||||
waterfallVersion("1.19")
|
waterfallVersion("1.19")
|
||||||
@ -61,4 +67,13 @@ tasks {
|
|||||||
relocate("ninja.leaping.configurate", "com.imaginarycode.minecraft.redisbungee.internal.configurate")
|
relocate("ninja.leaping.configurate", "com.imaginarycode.minecraft.redisbungee.internal.configurate")
|
||||||
relocate("org.yaml", "com.imaginarycode.minecraft.redisbungee.internal.yml")
|
relocate("org.yaml", "com.imaginarycode.minecraft.redisbungee.internal.yml")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
create<MavenPublication>("maven") {
|
||||||
|
from(components["java"])
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
@ -6,6 +6,11 @@ plugins {
|
|||||||
id("net.kyori.blossom") version "1.2.0"
|
id("net.kyori.blossom") version "1.2.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
maven { url = uri("https://repo.papermc.io/repository/maven-public/") }
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(project(":RedisBungee-API")) {
|
api(project(":RedisBungee-API")) {
|
||||||
// Since velocity already includes guava / configurate exlude them
|
// Since velocity already includes guava / configurate exlude them
|
||||||
@ -30,7 +35,12 @@ blossom {
|
|||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
withType<Javadoc> {
|
withType<Javadoc> {
|
||||||
|
val options = options as StandardJavadocDocletOptions
|
||||||
|
options.use()
|
||||||
|
options.isDocFilesSubDirs = true
|
||||||
|
options.links(
|
||||||
|
"https://jd.papermc.io/velocity/3.0.0/", // bungeecord api
|
||||||
|
)
|
||||||
}
|
}
|
||||||
runVelocity {
|
runVelocity {
|
||||||
velocityVersion("3.2.0-SNAPSHOT")
|
velocityVersion("3.2.0-SNAPSHOT")
|
||||||
@ -56,8 +66,10 @@ tasks {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
repositories {
|
publications {
|
||||||
mavenCentral()
|
create<MavenPublication>("maven") {
|
||||||
maven { url = uri("https://repo.papermc.io/repository/maven-public/") }
|
from(components["java"])
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
0
gradle.build.kts
Normal file
0
gradle.build.kts
Normal file
Loading…
Reference in New Issue
Block a user