Skip to content

Commit

Permalink
create artifact with mod classifier
Browse files Browse the repository at this point in the history
  • Loading branch information
purplefox committed Jun 28, 2013
1 parent 3c957b9 commit 2b73e61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -82,7 +82,7 @@ def configurePom(def pom) {
name rootProject.name
description 'Simple Web Server Module for Vert.x'
inceptionYear '2012'
packaging 'zip'
packaging produceJar == 'false' ? 'pom' : 'jar'
url 'https://github.com/vert-x/mod-web-server'

developers {
Expand Down
1 change: 1 addition & 0 deletions gradle/vertx.gradle
Expand Up @@ -113,6 +113,7 @@ task copyMod( type:Copy, dependsOn: 'classes', description: 'Assemble the module

task modZip( type: Zip, dependsOn: 'pullInDeps', description: 'Package the module .zip file') {
group = 'vert.x'
classifier = "mod"
description = "Assembles a vert.x module"
destinationDir = project.file('build/libs')
archiveName = "${modname}-${version}" + ".zip"
Expand Down

0 comments on commit 2b73e61

Please sign in to comment.