3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-20 06:50:09 +01:00

Exclude Google libraries from the built jar

Dieser Commit ist enthalten in:
Camotoy 2021-07-21 09:37:51 -04:00
Ursprung fcbd90c4d6
Commit 38539c2148

Datei anzeigen

@ -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 {