mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Exclude Google libraries from the built jar
This commit is contained in:
parent
fcbd90c4d6
commit
38539c2148
1 changed files with 5 additions and 2 deletions
|
@ -28,7 +28,11 @@ dependencies {
|
|||
// You may need to force-disable transitiveness on them.
|
||||
|
||||
implementation 'org.geysermc:connector:1.4.1-SNAPSHOT'
|
||||
shadow 'org.geysermc:connector:1.4.1-SNAPSHOT'
|
||||
shadow('org.geysermc:connector:1.4.1-SNAPSHOT') {
|
||||
exclude group: 'com.google.guava', module: "guava"
|
||||
exclude group: 'com.google.code.gson', module: "gson"
|
||||
exclude group: 'org.slf4j'
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
@ -79,7 +83,6 @@ shadowJar {
|
|||
relocate("it.unimi.dsi.fastutil", "org.geysermc.relocate.fastutil")
|
||||
relocate("org.objectweb.asm", "org.geysermc.relocate.asm")
|
||||
relocate("org.yaml", "org.geysermc.relocate.yaml") // https://github.com/CardboardPowered/cardboard/issues/139
|
||||
relocate("com.google", "org.geysermc.relocate.google")
|
||||
}
|
||||
|
||||
jar {
|
||||
|
|
Loading…
Reference in a new issue