mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 22:06:05 -04:00
Slimming a locally built jar (#9321)
This commit is contained in:
parent
4b9c7171d3
commit
940fa9a551
@ -59,6 +59,7 @@ tasks.register<Jar>("dist") { // Compiles the jar file
|
|||||||
+ configurations.compileClasspath.get().resolve()
|
+ configurations.compileClasspath.get().resolve()
|
||||||
).map { if (it.isDirectory) it else zipTree(it) }})
|
).map { if (it.isDirectory) it else zipTree(it) }})
|
||||||
from(files(assetsDir))
|
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
|
// This is for the .dll and .so files to make the Discord RPC work on all desktops
|
||||||
from(files(discordDir))
|
from(files(discordDir))
|
||||||
archiveFileName.set("${BuildConfig.appName}.jar")
|
archiveFileName.set("${BuildConfig.appName}.jar")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user