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

Commit 285d4c9

Browse files
authored
Merge pull request #297 from cafejojo/build-jars
Add task to build mining pipeline fat JAR
2 parents 8c7fb1d + 00d8a6e commit 285d4c9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

modules/application/build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,16 @@ dependencies {
2222

2323
compile group: "commons-cli", name: "commons-cli", version: commonsCliVersion
2424
}
25+
26+
// Distribution
27+
inspectClassesForKotlinIC.enabled = false // Workaround for https://youtrack.jetbrains.com/issue/KT-24956
28+
29+
jar {
30+
manifest {
31+
attributes "Main-Class": mainClassName
32+
}
33+
34+
from {
35+
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
36+
}
37+
}

0 commit comments

Comments
 (0)