version '3.0.10' task downloadFiles(type: buildSrc.DownloadTask) { source "https://github.com/grails/grails-core/releases/download/v${project.version}/grails-${project.version}.zip" sha256sum '5ee27a571bee73072505f2c3af52a8c12f2749113e9791cbc1c695ecb7a8ec2d' } ospackage { into "/opt/${project.name}" from downloadFiles.outputs.files }