Skip to content

Commit f52780d

Browse files
committed
Update gradle properties
1 parent 0d5f678 commit f52780d

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

build.gradle

+1-3
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,7 @@ if (usesShadowedDependencies.toBoolean()) {
721721
relocationPrefix = modGroup + ".shadow"
722722
enableRelocation = true
723723
}
724-
exclude("META-INF/maven")
725-
exclude("META-INF/versions")
726-
exclude("META-INF/LICENSE")
724+
exclude("META-INF/versions/")
727725
}
728726
configurations.runtimeElements.outgoing.artifacts.clear()
729727
configurations.apiElements.outgoing.artifacts.clear()

dependencies.gradle

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import javax.swing.plaf.metal.MetalIconFactory
2+
import java.nio.file.Files
3+
14
/*
25
* Add your dependencies here. Supported configurations:
36
* - api("group:name:version:classifier"): if you use the types from this dependency in the public API of this mod
@@ -41,7 +44,9 @@ dependencies {
4144

4245
shadowCompile fileTree(dir: 'output', include: '*.jar')
4346

44-
shadowCompile "org.slf4j:slf4j-api:${project.slf4j_version}"
45-
shadowCompile "org.yaml:snakeyaml:${project.snake_yml_version}"
47+
shadowCompile("org.slf4j:slf4j-api:${project.slf4j_version}")
48+
shadowCompile("org.yaml:snakeyaml:${project.snake_yml_version}") {
49+
exclude module : "META-INF/versions/"
50+
}
4651
compileOnlyApi("io.netty:netty-all:4.0.23.Final")
4752
}

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ org.gradle.java.installations.fromEnv=JDK8
101101

102102
# Misc Libraries
103103
snake_yml_version=2.2
104-
slf4j_version=2.0.14
104+
slf4j_version=2.0.16

0 commit comments

Comments
 (0)