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

Commit

Permalink
Merge pull request #297 from cafejojo/build-jars
Browse files Browse the repository at this point in the history
Add task to build mining pipeline fat JAR
  • Loading branch information
FWDekker authored Jun 26, 2018
2 parents 8c7fb1d + 00d8a6e commit 285d4c9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,16 @@ dependencies {

compile group: "commons-cli", name: "commons-cli", version: commonsCliVersion
}

// Distribution
inspectClassesForKotlinIC.enabled = false // Workaround for https://youtrack.jetbrains.com/issue/KT-24956

jar {
manifest {
attributes "Main-Class": mainClassName
}

from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}

0 comments on commit 285d4c9

Please sign in to comment.