Skip to content

Commit b947267

Browse files
committed
Quietly downgrade jars without warnings
ViaVersion/ViaForge@ae280ac ViaLegacy snapshot caused issue
1 parent 9405f29 commit b947267

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ dependencies {
8282
library "com.viaversion:viabackwards-common:5.7.2-SNAPSHOT"
8383
library "com.viaversion:viarewind-common:4.0.15-SNAPSHOT"
8484
library "com.viaversion:viaaprilfools-common:4.0.9-SNAPSHOT"
85-
library ("net.raphimc:ViaLegacy:3.0.14-SNAPSHOT") {
85+
library ("net.raphimc:ViaLegacy:3.0.13") {
8686
exclude group: "com.google.code.gson", module: "gson"
8787
}
8888
library ("org.slf4j:slf4j-api:${project.slf4j_version}")
@@ -119,10 +119,12 @@ shadowJar {
119119
downgradeJar {
120120
inputFile = shadowJar.archiveFile
121121
destinationDirectory = temporaryDir
122+
logLevel = "FATAL"
122123
}
123124

124125
shadeDowngradedApi {
125126
archiveFileName = jar.archiveFileName
127+
logLevel = "FATAL"
126128
}
127129

128130
jar.dependsOn("shadeDowngradedApi")

0 commit comments

Comments
 (0)