ViaVersion/api/build.gradle.kts

39 lines
867 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)
2024-05-11 11:41:07 +02:00
api(libs.vianbt) {
exclude("it.unimi.dsi", "fastutil")
}
api(libs.gson) {
exclude("com.google.errorprone", "error_prone_annotations")
}
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
}
api(libs.snakeYaml)
compileOnlyApi(libs.netty)
compileOnlyApi(libs.guava)
compileOnlyApi(libs.checkerQual)
}
2021-05-25 08:25:00 +02:00
java {
withJavadocJar()
}