Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- task sonarComplete(type: Exec) {
- workingDir "./"
- def tasksParams = "clean build test testDevelopDebugUnitTest testDevelopDebugUnitTestCoverage sonarqube"
- def command = "../gradlew"
- if (OperatingSystem.current().isWindows()) {
- command = command + ".bat"
- }
- println command + " " + tasksParams
- commandLine command, tasksParams
- }
Advertisement
Add Comment
Please, Sign In to add comment