Skip to content

Commit

Permalink
Only dist current version if build/mod has multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
timyates committed Nov 16, 2012
1 parent 81b3230 commit 683222f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ task dist( type: Zip, dependsOn: 'prepareVertxModule' ) {
description = "Assembles a vert.x module in 'mod.zip' format"
destinationDir = project.file('build/libs')
archiveName = 'mod.zip'
from project.file("build/mod")
from( project.file( "build/mod/${modulename}-v${version}" ) ).into( "${modulename}-v${version}" )
}

task prepareVertxTest(type: Sync, dependsOn: ['prepareVertxModule']) {
Expand Down

0 comments on commit 683222f

Please sign in to comment.