diff options
| author | 2020-06-09 23:01:13 +0200 | |
|---|---|---|
| committer | 2020-06-09 23:01:13 +0200 | |
| commit | 9089a63b5cd2596e47c8c6b876ebd07224d943e4 (patch) | |
| tree | 77e15e9617f29dc1026a0b293f3aeb94f8fa8dd0 /enigma-cli | |
| parent | Fix crash on remapping >1 level of nested class (#262) (diff) | |
| download | enigma-9089a63b5cd2596e47c8c6b876ebd07224d943e4.tar.gz enigma-9089a63b5cd2596e47c8c6b876ebd07224d943e4.tar.xz enigma-9089a63b5cd2596e47c8c6b876ebd07224d943e4.zip | |
Build fat jar for enigma-cli
Diffstat (limited to 'enigma-cli')
| -rw-r--r-- | enigma-cli/build.gradle | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/enigma-cli/build.gradle b/enigma-cli/build.gradle index 3ee12396..8de307ec 100644 --- a/enigma-cli/build.gradle +++ b/enigma-cli/build.gradle | |||
| @@ -1,5 +1,18 @@ | |||
| 1 | plugins { | ||
| 2 | id 'com.github.johnrengelman.shadow' version '5.2.0' | ||
| 3 | } | ||
| 4 | |||
| 1 | dependencies { | 5 | dependencies { |
| 2 | implementation project(':enigma') | 6 | implementation project(':enigma') |
| 3 | } | 7 | } |
| 4 | 8 | ||
| 5 | jar.manifest.attributes 'Main-Class': 'cuchaz.enigma.command.Main' | 9 | jar.manifest.attributes 'Main-Class': 'cuchaz.enigma.command.Main' |
| 10 | |||
| 11 | publishing { | ||
| 12 | publications { | ||
| 13 | shadow(MavenPublication) { publication -> | ||
| 14 | publication.from components.java | ||
| 15 | publication.artifact shadowJar | ||
| 16 | } | ||
| 17 | } | ||
| 18 | } \ No newline at end of file | ||