From bac75a47d0dd4b5890c762e3df59f230c538970b Mon Sep 17 00:00:00 2001 From: frankfarrell Date: Wed, 22 Aug 2018 11:45:12 +0200 Subject: [PATCH] chore: Update gradle file to include dependencies in jar --- build.gradle | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index bb2cab5..2cc3960 100644 --- a/build.gradle +++ b/build.gradle @@ -20,6 +20,18 @@ repositories { jcenter() } +jar { + baseName = "dynamodb-utils" + archivesBaseName = "dynamodb-utils" + manifest { + attributes("Implementation-Title": "Collection of dynamodb utility functions", "Implementation-Version": "0.0.2") + } + //(fat jar). + into("lib") { + from configurations.runtime + } +} + dependencyManagement { imports { mavenBom 'com.amazonaws:aws-java-sdk-bom:1.11.363' @@ -42,4 +54,4 @@ dependencies { "io.mockk:mockk:1.8.4" ) -} \ No newline at end of file +}