WarrenFaith

Untitled

Jan 19th, 2016
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.36 KB | None | 0 0
  1. task sonarComplete(type: Exec) {
  2.     workingDir "./"
  3.     def tasksParams = "clean build test testDevelopDebugUnitTest testDevelopDebugUnitTestCoverage sonarqube"
  4.     def command = "../gradlew"
  5.     if (OperatingSystem.current().isWindows()) {
  6.         command = command + ".bat"
  7.     }
  8.     println command + " " + tasksParams
  9.     commandLine command, tasksParams
  10. }
Advertisement
Add Comment
Please, Sign In to add comment