Skip to content

Commit

Permalink
chore(build.gradle): split fatJar into its own task
Browse files Browse the repository at this point in the history
  • Loading branch information
medavox committed Aug 31, 2019
1 parent ab2d50d commit 33d6c64
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ compileKotlin {
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jar {

task fatJar(type: Jar) {
manifest {
attributes "Main-Class": "com.github.medavox.ipa_transcribers.Launcher"
}

from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
baseName = rootProject.name+"-standalone"
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}

0 comments on commit 33d6c64

Please sign in to comment.