Skip to content

Commit

Permalink
#69 Add publishing fat jar
Browse files Browse the repository at this point in the history
  • Loading branch information
magx2 committed May 17, 2020
1 parent 563e462 commit 68b3d38
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 @@ -60,6 +60,17 @@ test {

apply from: 'integration-tests.gradle'

publishing {
publications {
FatJarPublication(MavenPublication) {
from components.java
groupId group
artifactId project.name + '-fat'
version project.version
}
}
}

task fatJar(type: Jar) {
group = BasePlugin.BUILD_GROUP
getArchiveBaseName().set("${project.name}-fat")
Expand Down

0 comments on commit 68b3d38

Please sign in to comment.