diff options
| author | 2021-07-09 23:05:44 +0200 | |
|---|---|---|
| committer | 2021-07-09 23:05:44 +0200 | |
| commit | 4040215793888ac3b9145ddef52dcb17641c20da (patch) | |
| tree | 0c9a74fbf694b8ce5f7d7a6008be86acaf1dd356 | |
| parent | Bump version (diff) | |
| download | enigma-4040215793888ac3b9145ddef52dcb17641c20da.tar.gz enigma-4040215793888ac3b9145ddef52dcb17641c20da.tar.xz enigma-4040215793888ac3b9145ddef52dcb17641c20da.zip | |
Update to shadow 7.0.0, second try
Closes #415.
| -rw-r--r-- | enigma-cli/build.gradle | 5 | ||||
| -rw-r--r-- | enigma-swing/build.gradle | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/enigma-cli/build.gradle b/enigma-cli/build.gradle index fcd3f0d4..5b84196e 100644 --- a/enigma-cli/build.gradle +++ b/enigma-cli/build.gradle | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | plugins { | 1 | plugins { |
| 2 | id 'application' | 2 | id 'application' |
| 3 | id 'com.github.johnrengelman.shadow' version '5.2.0' | 3 | id 'com.github.johnrengelman.shadow' version '7.0.0' |
| 4 | } | 4 | } |
| 5 | 5 | ||
| 6 | dependencies { | 6 | dependencies { |
| @@ -14,8 +14,7 @@ jar.manifest.attributes 'Main-Class': mainClassName | |||
| 14 | publishing { | 14 | publishing { |
| 15 | publications { | 15 | publications { |
| 16 | shadow(MavenPublication) { publication -> | 16 | shadow(MavenPublication) { publication -> |
| 17 | publication.from components.java | 17 | project.shadow.component publication |
| 18 | publication.artifact shadowJar | ||
| 19 | } | 18 | } |
| 20 | } | 19 | } |
| 21 | } | 20 | } |
diff --git a/enigma-swing/build.gradle b/enigma-swing/build.gradle index dadd0d3f..d6b618ed 100644 --- a/enigma-swing/build.gradle +++ b/enigma-swing/build.gradle | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | plugins { | 1 | plugins { |
| 2 | id 'application' | 2 | id 'application' |
| 3 | id 'com.github.johnrengelman.shadow' version '5.2.0' | 3 | id 'com.github.johnrengelman.shadow' version '7.0.0' |
| 4 | } | 4 | } |
| 5 | 5 | ||
| 6 | dependencies { | 6 | dependencies { |
| @@ -22,8 +22,7 @@ jar.manifest.attributes 'Main-Class': mainClassName | |||
| 22 | publishing { | 22 | publishing { |
| 23 | publications { | 23 | publications { |
| 24 | shadow(MavenPublication) { publication -> | 24 | shadow(MavenPublication) { publication -> |
| 25 | publication.from components.java | 25 | project.shadow.component publication |
| 26 | publication.artifact shadowJar | ||
| 27 | } | 26 | } |
| 28 | } | 27 | } |
| 29 | } | 28 | } |