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 {
15
15
16
16
public static Path libDownloadPath ;
17
17
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" ;
20
20
21
21
private static boolean buildWithTool (String [] buildCommand ) {
22
22
Log .info ("Building the project using " + buildCommand [0 ] + "." );
You can’t perform that action at this time.
0 commit comments