Skip to content

Commit

Permalink
Merge pull request #75 from IBM/1.0.5
Browse files Browse the repository at this point in the history
mvn.bat -> mvn.cmd
  • Loading branch information
rahlk authored Nov 13, 2024
2 parents 17a3bff + 21ef81a commit 75944f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.0.4
version=1.0.5
2 changes: 1 addition & 1 deletion src/main/java/com/ibm/cldk/utils/BuildProject.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ private static String getMavenCommand() {
Boolean isWindows = System.getProperty("os.name").toLowerCase().contains("windows");
String mvnCommand;
if (isWindows) {
mvnCommand = new File(projectRootPom, "mvnw.bat").exists() ? String.valueOf(new File(projectRootPom, "mvnw.bat")) : "mvn.bat";
mvnCommand = new File(projectRootPom, "mvnw.cmd").exists() ? String.valueOf(new File(projectRootPom, "mvnw.cmd")) : "mvn.cmd";
} else {
mvnCommand = new File(projectRootPom, "mvnw").exists() ? String.valueOf(new File(projectRootPom, "mvnw")) : "mvn";
}
Expand Down

0 comments on commit 75944f1

Please sign in to comment.