Skip to content

Commit

Permalink
Added shadow plugin for additional creation of fat jar
Browse files Browse the repository at this point in the history
  • Loading branch information
HanSolo committed Mar 22, 2022
1 parent 1149c69 commit 1e183bc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import java.text.SimpleDateFormat
plugins {
id 'java-library'
id 'application'
id 'net.nemerosa.versioning' version '2.15.1'
id 'org.jreleaser' version '1.0.0-M3'
id 'org.jreleaser.jdks' version '1.0.0-M3'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'net.nemerosa.versioning' version '2.15.1'
id 'org.jreleaser' version '1.0.0-M3'
id 'org.jreleaser.jdks' version '1.0.0-M3'
}

description = 'Disco CLI is a command line interface for the foojay.io Disco API'
Expand Down Expand Up @@ -59,6 +60,9 @@ jar {
}
}

shadowJar {
archiveClassifier.set('fat');
}

if (JavaVersion.current().isJava8Compatible()) {
allprojects {
Expand Down

0 comments on commit 1e183bc

Please sign in to comment.