Skip to content

Commit

Permalink
#23 - Fails to build Windows image (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfriesen authored Jun 7, 2023
1 parent afaff9d commit a75db3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

group 'com.formkiq.gradle'
version '1.5.0'
version '1.5.1'

java {
toolchain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ private String buildClassPathString(final Project project) {
files.add(Path.of(project.getBuildDir().getAbsolutePath(), GRAALVM_JAVA_MAIN).toFile());
addClasspaths(files);

return files.stream().map(File::getAbsolutePath).map(s -> formatToUnix(s))
return files.stream().map(File::getAbsolutePath)
.map(s -> this.extension.getDockerImage() != null ? formatToUnix(s) : s)
.collect(Collectors.joining(OperatingSystem.current().isWindows() ? ";" : ":"));
}

Expand Down

0 comments on commit a75db3c

Please sign in to comment.