2021-03-22 23:06:40 +01:00
|
|
|
plugins {
|
2021-04-14 14:16:48 +02:00
|
|
|
id("net.kyori.blossom")
|
2021-05-25 06:58:34 +02:00
|
|
|
id("via.shadow-conventions")
|
2021-03-22 23:06:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
blossom {
|
|
|
|
replaceToken("\$VERSION", project.version)
|
|
|
|
replaceToken("\$IMPL_VERSION", "git-ViaVersion-${project.version}:${rootProject.latestCommitHash()}")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-04-14 14:16:48 +02:00
|
|
|
api(projects.adventure) {
|
|
|
|
targetConfiguration = "shadow"
|
|
|
|
}
|
|
|
|
api(libs.fastutil)
|
2021-10-19 09:09:12 +02:00
|
|
|
api(libs.flare)
|
|
|
|
api(libs.flareFastutil)
|
2021-04-14 14:16:48 +02:00
|
|
|
api(libs.openNBT)
|
|
|
|
api(libs.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()
|
|
|
|
}
|