Skip to content

Commit

Permalink
Fix simplify fatjar task
Browse files Browse the repository at this point in the history
Fixes #137
  • Loading branch information
CalebFenton committed Feb 17, 2020
1 parent 6271435 commit 036fcf1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions simplify/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ dependencies {
test.dependsOn project(':smalivm').tasks.getByName('testClasses')

task fatJar(type: Jar, dependsOn: ':smalivm:fatJar') {
from sourceSets.main.output
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }

manifest {
attributes('Main-Class': mainClassName)
}
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar

doLast {
if (!System.getProperty('os.name').toLowerCase().contains('windows')) {
Expand Down

0 comments on commit 036fcf1

Please sign in to comment.