Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 16:40:10 +01:00
75db1a7cdf
Bump Java target to 17, clean up using its new language features Remove unnecessary checked exception throwing Remove deprecated code
24 Zeilen
721 B
Plaintext
24 Zeilen
721 B
Plaintext
dependencies {
|
|
api(projects.viaversionApi)
|
|
api(rootProject.libs.text) {
|
|
exclude("com.google.code.gson", "gson")
|
|
}
|
|
implementation(projects.compat.snakeyaml2Compat)
|
|
implementation(projects.compat.snakeyaml1Compat)
|
|
|
|
// 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)
|
|
}
|
|
|
|
java {
|
|
withJavadocJar()
|
|
}
|
|
|
|
tasks.named<Jar>("sourcesJar") {
|
|
from(project(":viaversion-api").sourceSets.main.get().allSource)
|
|
}
|
|
|
|
publishShadowJar() |