2021-02-17 17:50:47 +01:00
|
|
|
dependencies {
|
2021-04-14 14:16:48 +02:00
|
|
|
api(projects.viaversionApi)
|
2023-12-26 23:38:02 +01:00
|
|
|
api(rootProject.libs.text) {
|
|
|
|
exclude("com.google.code.gson", "gson")
|
|
|
|
}
|
2023-02-27 14:16:40 +01:00
|
|
|
implementation(projects.compat.snakeyaml2Compat)
|
|
|
|
implementation(projects.compat.snakeyaml1Compat)
|
2023-11-06 04:11:35 +01:00
|
|
|
|
|
|
|
// 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.snakeYaml2)
|
|
|
|
testImplementation(rootProject.libs.bundles.junit)
|
2021-02-17 17:50:47 +01:00
|
|
|
}
|
2021-05-25 08:25:00 +02:00
|
|
|
|
|
|
|
java {
|
|
|
|
withJavadocJar()
|
|
|
|
}
|
2023-11-06 11:04:45 +01:00
|
|
|
|
|
|
|
tasks.named<Jar>("sourcesJar") {
|
|
|
|
from(project(":viaversion-api").sourceSets.main.get().allSource)
|
|
|
|
}
|
|
|
|
|
2024-05-03 14:35:14 +02:00
|
|
|
publishShadowJar()
|