From 4e7d472dbe9c0514064c47a5c4135418c6fb7689 Mon Sep 17 00:00:00 2001 From: Adam Dougal Date: Mon, 25 Sep 2017 10:09:19 +0100 Subject: [PATCH] Uploads fat jar to bintray --- build.gradle | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index dfbee3d..b10c259 100644 --- a/build.gradle +++ b/build.gradle @@ -34,7 +34,7 @@ clean.doFirst { bintray { user = project.property('openSourceRepoUser') key = project.property('openSourceRepoPass') - publications = ['artifacts'] + publications = ['artifacts', 'shadow'] pkg { userOrg = 'sky-uk' repo = 'oss-maven' @@ -56,9 +56,17 @@ publishing { artifact sourcesJar artifact javadocJar } + shadow(MavenPublication) { + from components.java + artifact shadowJar + } } } +shadowJar { + classifier = 'with-dependencies' +} + repositories { mavenCentral() }