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() }