Skip to content

Commit

Permalink
Merge pull request #379 from kusumotolab/executable-jar
Browse files Browse the repository at this point in the history
jarファイル生成タスクを追加
  • Loading branch information
tanimon authored Nov 1, 2018
2 parents 1064e25 + c08302a commit 26d20ab
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,14 @@ dependencies {

compile 'com.electronwill.night-config:toml:3.4.0'
}

jar {
// Specify App's entry point
manifest {
attributes "Main-Class": "jp.kusumotolab.kgenprog.CUILauncher"
}
from { (configurations.runtime).collect { it.isDirectory() ? it : zipTree(it) } } {
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
}
}

0 comments on commit 26d20ab

Please sign in to comment.