finally ! smaller jar is smaller

This commit is contained in:
alexcrea 2026-01-01 18:59:48 +01:00
parent fe2196626a
commit a350b7fa69
Signed by: alexcrea
GPG key ID: E346CD16413450E3

View file

@ -148,9 +148,10 @@ tasks {
val name = "${rootProject.name}-${effectiveVersion}.jar" val name = "${rootProject.name}-${effectiveVersion}.jar"
archiveFileName.set(name) archiveFileName.set(name)
// Exclude kotlin std and its annotation // Exclude kotlin std, annotations and adventure api
exclude("**/kotlin-stdlib*.jar") exclude("*kotlin/**")
exclude("**/annotations*.jar") exclude("**/annotations/**")
exclude("net/kyori/**")
// Shadow necessary dependency // Shadow necessary dependency
relocate("com.github.stefvanschie.inventoryframework", "xyz.alexcrea.inventoryframework") relocate("com.github.stefvanschie.inventoryframework", "xyz.alexcrea.inventoryframework")