Skip to content

Instantly share code, notes, and snippets.

@Opalo
Created May 11, 2017 20:42
Show Gist options
  • Save Opalo/88be0c6c1c03061581efab84bec9f96c to your computer and use it in GitHub Desktop.
Save Opalo/88be0c6c1c03061581efab84bec9f96c to your computer and use it in GitHub Desktop.
tasks.withType(CreateStartScripts) {
def tplName = 'unixStartScriptTemplate.txt'
assert new File(tplName).exists()
template = resources.text.fromFile(tplName)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment