Skip to content

Commit 8bfc5b3

Browse files
committed
feat: optimize jar
1 parent 2d79ea7 commit 8bfc5b3

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

core/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ dependencies {
2121
shade(libs.bundles.shadedLibrary) {
2222
exclude("net.kyori")
2323
exclude("org.ow2.asm")
24+
exclude("io.leangen.geantyref")
25+
exclude("org.incendo", "cloud-core")
2426
}
2527

2628
compileOnly(libs.bundles.manifestLibrary)

core/src/main/java/kr/toxicity/model/BetterModelLibrary.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ public final class BetterModelLibrary {
4848
// )
4949
// .relocation("org{}incendo{}cloud")
5050
// );
51-
// public static final LibraryData CLOUD_CORE = register(
52-
// "org{}incendo",
53-
// "cloud-core",
54-
// builder -> builder
55-
// .subModules(
56-
// "cloud-services"
57-
// )
58-
// .relocation("org{}incendo{}cloud")
59-
// );
51+
public static final LibraryData CLOUD_CORE = register(
52+
"org{}incendo",
53+
"cloud-core",
54+
builder -> builder
55+
.subModules(
56+
"cloud-services"
57+
)
58+
.relocation("org{}incendo{}cloud")
59+
);
6060
public static final LibraryData GEANTYREF = register(
6161
"io{}leangen{}geantyref",
6262
"geantyref",

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ manifestLibrary = [
5050
"bStats",
5151
"molangCompiler",
5252
# "cloud-paper", TODO add remove this when cloud-paper 2.0.0-beta.14 is released
53-
# "cloud-core",
53+
"cloud-core",
5454
"geantyref",
5555
"adventure-api",
5656
"adventure-examination",

0 commit comments

Comments
 (0)