Fix building Maven sample on Windows
This commit is contained in:
@@ -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.cmd" : "./mvnw", 'clean', 'package']
|
||||
mavenBuild.commandLine = [isWindows() ? "${new File(this.workingDir).absolutePath}/mvnw.cmd" : './mvnw', 'clean', 'package']
|
||||
mavenBuild.dependsOn dependencies
|
||||
|
||||
mavenBuild.doFirst {
|
||||
|
||||
Reference in New Issue
Block a user