diff options
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 3ee1239..8de307e 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 | ||