From 68b3d384b51e1fed6f2bff06243947cfc1fd3db3 Mon Sep 17 00:00:00 2001 From: Martin Grzeslowski Date: Sun, 17 May 2020 17:37:14 +0200 Subject: [PATCH] #69 Add publishing fat jar --- build.gradle | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.gradle b/build.gradle index 4bf36d1..728ab06 100644 --- a/build.gradle +++ b/build.gradle @@ -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")