File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/ibm/northstar/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ public class BuildProject {
1515
1616 public static Path libDownloadPath ;
1717 private static final String LIB_DEPS_DOWNLOAD_DIR = ".library-dependencies" ;
18- private static final String MAVEN_CMD = System .getProperty ("os.name" ).contains ("win " ) ? "mvn.cmd" : "mvn" ;
19- private static final String GRADLE_CMD = System .getProperty ("os.name" ).contains ("win " ) ? "gradlew.bat" : "gradlew" ;
18+ private static final String MAVEN_CMD = System .getProperty ("os.name" ).toLowerCase (). contains ("windows " ) ? "mvn.cmd" : "mvn" ;
19+ private static final String GRADLE_CMD = System .getProperty ("os.name" ).toLowerCase (). contains ("windows " ) ? "gradlew.bat" : "gradlew" ;
2020
2121 private static boolean buildWithTool (String [] buildCommand ) {
2222 Log .info ("Building the project using " + buildCommand [0 ] + "." );
You can’t perform that action at this time.
0 commit comments