mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-25 11:35:18 +01:00
38 lines
754 B
Plaintext
38 lines
754 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(projects.adventure) {
|
|
targetConfiguration = "shadow"
|
|
}
|
|
api(libs.fastutil)
|
|
api(libs.flare)
|
|
api(libs.flareFastutil)
|
|
api(libs.vianbt)
|
|
api(libs.gson)
|
|
|
|
compileOnlyApi(libs.snakeYaml)
|
|
compileOnlyApi(libs.netty)
|
|
compileOnlyApi(libs.guava)
|
|
compileOnlyApi(libs.checkerQual)
|
|
}
|
|
|
|
java {
|
|
withJavadocJar()
|
|
}
|
|
|
|
publishShadowJar()
|