Correct the name of the mvnw script on Windows

This commit is contained in:
Andy Wilkinson
2015-10-06 17:15:47 +01:00
parent 9a362abe77
commit 75e965c782

View File

@@ -61,7 +61,7 @@ public class SampleBuildConfigurer {
mavenBuild.description = "Builds the ${name} sample with Maven"
mavenBuild.group = "Build"
mavenBuild.workingDir = this.workingDir
mavenBuild.commandLine = [isWindows() ? ".\\mvnw.bat" : "./mvnw", 'clean', 'package']
mavenBuild.commandLine = [isWindows() ? "mvnw.cmd" : "./mvnw", 'clean', 'package']
mavenBuild.dependsOn dependencies
mavenBuild.doFirst {