Skip to content

Commit

Permalink
Slimming a locally built jar (#9321)
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeTroglodyte authored May 4, 2023
1 parent 4b9c717 commit 940fa9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions desktop/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ tasks.register<Jar>("dist") { // Compiles the jar file
+ configurations.compileClasspath.get().resolve()
).map { if (it.isDirectory) it else zipTree(it) }})
from(files(assetsDir))
exclude("mods", "SaveFiles", "MultiplayerFiles", "GameSettings.json", "lasterror.txt")
// This is for the .dll and .so files to make the Discord RPC work on all desktops
from(files(discordDir))
archiveFileName.set("${BuildConfig.appName}.jar")
Expand Down

0 comments on commit 940fa9a

Please sign in to comment.