2021-03-22 23:06:40 +01:00
|
|
|
plugins {
|
2021-04-14 14:16:48 +02:00
|
|
|
id("net.kyori.blossom")
|
2023-09-06 03:20:32 +02:00
|
|
|
id("org.jetbrains.gradle.plugin.idea-ext")
|
2021-03-22 23:06:40 +01:00
|
|
|
}
|
|
|
|
|
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()}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-03-22 23:06:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-04-14 14:16:48 +02:00
|
|
|
api(libs.fastutil)
|
2024-05-11 11:41:07 +02:00
|
|
|
api(libs.vianbt) {
|
|
|
|
exclude("it.unimi.dsi", "fastutil")
|
|
|
|
}
|
2021-04-14 14:16:48 +02:00
|
|
|
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
|
|
|
}
|
2021-03-22 23:06:40 +01:00
|
|
|
|
2021-04-14 14:16:48 +02:00
|
|
|
compileOnlyApi(libs.snakeYaml)
|
|
|
|
compileOnlyApi(libs.netty)
|
|
|
|
compileOnlyApi(libs.guava)
|
|
|
|
compileOnlyApi(libs.checkerQual)
|
2021-03-22 23:06:40 +01:00
|
|
|
}
|
2021-05-25 08:25:00 +02:00
|
|
|
|
|
|
|
java {
|
|
|
|
withJavadocJar()
|
|
|
|
}
|