From 5c107f8d0291d08cc630d9d473b8481b6fd97876 Mon Sep 17 00:00:00 2001 From: Manuel Mauky Date: Wed, 22 Apr 2015 21:16:08 +0200 Subject: [PATCH] Add config for creating a distribution zip file --- build.gradle | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/build.gradle b/build.gradle index fe714fb..30e861a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,7 @@ apply plugin: "java" apply plugin: 'sonar-runner' apply plugin: "jacoco" +apply plugin: "java-library-distribution" task wrapper(type: Wrapper) { @@ -16,6 +17,20 @@ version = "0.3.0" apply from: "maven_upload.gradle" +// Create Distribution ZIP with './gradlew distZip' + +distributions { + main { + baseName = "easy-di" + contents { + from {'README.md'} + from {'LICENSE.md'} + } + } +} + + + configurations { markdownDoclet