Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Hopefully fix the last issue with the fat jars
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGlitch76 committed Dec 30, 2020
1 parent 079379a commit 1ea2bbc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ shadowJar {
exclude(dependency("org.apache.logging.log4j:log4j-core:2.13.2"))
exclude(dependency("net.minecrell:terminalconsoleappender:1.2.0"))
exclude(dependency("org.jline:jline-terminal-jansi:3.12.1"))
exclude(dependency("com.electronwill.night-config:toml:3.6.0"))
}
}

Expand All @@ -127,6 +128,7 @@ task shadowCliJar(type: ShadowJar, dependsOn: shadowJar) {
exclude(dependency("org.apache.logging.log4j:log4j-core:2.13.2"))
exclude(dependency("net.minecrell:terminalconsoleappender:1.2.0"))
exclude(dependency("org.jline:jline-terminal-jansi:3.12.1"))
exclude(dependency("com.electronwill.night-config:toml:3.6.0"))
}

manifest {
Expand All @@ -149,6 +151,7 @@ task shadowUiJar(type: ShadowJar, dependsOn: shadowJar) {
exclude(dependency("org.apache.logging.log4j:log4j-core:2.13.2"))
exclude(dependency("net.minecrell:terminalconsoleappender:1.2.0"))
exclude(dependency("org.jline:jline-terminal-jansi:3.12.1"))
exclude(dependency("com.electronwill.night-config:toml:3.6.0"))
}
manifest {
attributes(
Expand All @@ -175,7 +178,7 @@ publishing {
}

application {
mainClassName "net.patchworkmc.patcher.PatchworkUI"
mainClassName "net.patchworkmc.patcher.ui.PatchworkUI"
if (file('.classpath').exists()) {
println("Eclipse detected. Disabling ANSI.")
applicationDefaultJvmArgs = ['-Dpatchwork.log.disableAnsi=true']
Expand Down

0 comments on commit 1ea2bbc

Please sign in to comment.