Skip to content

Instantly share code, notes, and snippets.

@Cassie-von-Clausewitz
Created August 15, 2017 03:32
Show Gist options
  • Save Cassie-von-Clausewitz/9c34a4ac2733712be20147841f5638e7 to your computer and use it in GitHub Desktop.
Save Cassie-von-Clausewitz/9c34a4ac2733712be20147841f5638e7 to your computer and use it in GitHub Desktop.
Lockhunter Gradle task
task clean(type: Exec) {
ext.lockhunter = '\"C:\\Program Files\\LockHunter.exe\"'
def buildDir = file(new File("build"))
commandLine 'cmd', "$lockhunter", '/delete', '/silent', buildDir
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment