Skip to content

Commit

Permalink
Add config for creating a distribution zip file
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-mauky committed Apr 22, 2015
1 parent b49534e commit 5c107f8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apply plugin: "java"
apply plugin: 'sonar-runner'
apply plugin: "jacoco"
apply plugin: "java-library-distribution"


task wrapper(type: Wrapper) {
Expand All @@ -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
Expand Down

0 comments on commit 5c107f8

Please sign in to comment.