mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-22 16:38:20 +01:00
ecb241c187
Recently added to gson, can be safely excluded
39 lines
867 B
Plaintext
39 lines
867 B
Plaintext
plugins {
|
|
id("net.kyori.blossom")
|
|
id("org.jetbrains.gradle.plugin.idea-ext")
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
blossom {
|
|
javaSources {
|
|
property("version", project.version.toString())
|
|
property("impl_version", "git-ViaVersion-${project.version}:${rootProject.latestCommitHash()}")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(libs.fastutil)
|
|
api(libs.vianbt) {
|
|
exclude("it.unimi.dsi", "fastutil")
|
|
}
|
|
api(libs.gson) {
|
|
exclude("com.google.errorprone", "error_prone_annotations")
|
|
}
|
|
implementation(rootProject.libs.text) {
|
|
exclude("com.google.code.gson", "gson")
|
|
exclude("com.viaversion", "nbt")
|
|
}
|
|
api(libs.snakeYaml)
|
|
|
|
compileOnlyApi(libs.netty)
|
|
compileOnlyApi(libs.guava)
|
|
compileOnlyApi(libs.checkerQual)
|
|
}
|
|
|
|
java {
|
|
withJavadocJar()
|
|
}
|