ViaVersion/api/build.gradle.kts

39 lines
818 B
Plaintext
Raw Normal View History

plugins {
id("net.kyori.blossom")
2023-09-06 03:20:32 +02:00
id("org.jetbrains.gradle.plugin.idea-ext")
}
2023-09-05 12:59:08 +02:00
sourceSets {
main {
blossom {
javaSources {
property("version", project.version.toString())
property("impl_version", "git-ViaVersion-${project.version}:${rootProject.latestCommitHash()}")
}
}
}
}
dependencies {
api(libs.fastutil)
api(libs.flare)
api(libs.flareFastutil)
api(libs.vianbt)
api(libs.gson)
2023-12-27 19:37:48 +01:00
implementation(rootProject.libs.text) {
exclude("com.google.code.gson", "gson")
2023-12-30 19:02:25 +01:00
exclude("com.viaversion", "nbt")
2023-12-27 19:37:48 +01:00
}
compileOnlyApi(libs.snakeYaml)
compileOnlyApi(libs.netty)
compileOnlyApi(libs.guava)
compileOnlyApi(libs.checkerQual)
}
2021-05-25 08:25:00 +02:00
java {
withJavadocJar()
}
publishShadowJar()