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)
|
2021-10-19 09:09:12 +02:00
|
|
|
api(libs.flare)
|
|
|
|
api(libs.flareFastutil)
|
2023-10-16 07:35:16 +02:00
|
|
|
api(libs.vianbt)
|
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")
|
|
|
|
}
|
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()
|
|
|
|
}
|
2023-11-06 11:04:45 +01:00
|
|
|
|
|
|
|
publishShadowJar()
|