mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 01:55:47 +01:00
60b3ba6bb7
Snakeyaml is an untypical library which most Via platforms don't have and also broke in the past with V2, having it directly in the jar like Gson cleans up the build scripts massively, reduces the build time and also doesn't break in the future if they release V3 or any other breaking changes.
21 lines
595 B
Plaintext
21 lines
595 B
Plaintext
dependencies {
|
|
api(projects.viaversionApi)
|
|
api(rootProject.libs.text) {
|
|
exclude("com.google.code.gson", "gson")
|
|
}
|
|
|
|
// Note: If manually starting tests doesn't work for you in IJ, change 'Gradle -> Run Tests Using' to 'IntelliJ IDEA'
|
|
testImplementation(rootProject.libs.netty)
|
|
testImplementation(rootProject.libs.guava)
|
|
testImplementation(rootProject.libs.snakeYaml)
|
|
testImplementation(rootProject.libs.bundles.junit)
|
|
}
|
|
|
|
java {
|
|
withJavadocJar()
|
|
}
|
|
|
|
tasks.named<Jar>("sourcesJar") {
|
|
from(project(":viaversion-api").sourceSets.main.get().allSource)
|
|
}
|