diff options
Diffstat (limited to 'packages/grails2.2.1')
-rw-r--r-- | packages/grails2.2.1/build.gradle | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/packages/grails2.2.1/build.gradle b/packages/grails2.2.1/build.gradle deleted file mode 100644 index 3e30223..0000000 --- a/packages/grails2.2.1/build.gradle +++ /dev/null @@ -1,24 +0,0 @@ -import org.xapek.yvesf.gradle.DownloadTask - -version '2.2.1' - -task download(type: DownloadTask) { - source "http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-${project.version}.zip" - sha256sum 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' -} - -task unpack(type: Copy) { - from zipTree(download.destFile) - into file("${buildDir}/unpacked/dist") - eachFile { FileCopyDetails fcd -> - fcd.path = fcd.path.substring(path.indexOf('/')+1) - } -} -unpack.dependsOn(download) - -ospackage { - into "/opt/${project.name}" - from unpack.outputs.files { - user = 'root' - } -} |