Skip to content

Instantly share code, notes, and snippets.

@dsdstudio
Forked from anonymous/wardeploy.gradle
Created December 21, 2012 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dsdstudio/4350013 to your computer and use it in GitHub Desktop.
Save dsdstudio/4350013 to your computer and use it in GitHub Desktop.
task deployToDevEnvironment(type:Copy, dependsOn:['clean','war']) {
def targetDir = file('your_deployment_target_path')
from zipTree(file(war.archivePath))
into targetDir
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment