@Test public void executeGradleCmd() throws IOException, InterruptedException { String response = GradleUtil.executeGradleCmd("D:\\codes\\test2\\lvji-codes-test", "createDirs"); assertNotNull(response); }
public static String executeGradleCmd(String dir, String cmd) throws IOException, InterruptedException { String realCmd = GRADLE_HOME + File.separator + "bin" + File.separator + "gradle.bat " + cmd; return ShellUtil.cmd(realCmd, null, dir); }
GradleUtil { public static String executeGradleCmd(String dir, String cmd) throws IOException, InterruptedException { String realCmd = GRADLE_HOME + File.separator + "bin" + File.separator + "gradle.bat " + cmd; return ShellUtil.cmd(realCmd, null, dir); } }
GradleUtil { public static String executeGradleCmd(String dir, String cmd) throws IOException, InterruptedException { String realCmd = GRADLE_HOME + File.separator + "bin" + File.separator + "gradle.bat " + cmd; return ShellUtil.cmd(realCmd, null, dir); }  }
GradleUtil { public static String executeGradleCmd(String dir, String cmd) throws IOException, InterruptedException { String realCmd = GRADLE_HOME + File.separator + "bin" + File.separator + "gradle.bat " + cmd; return ShellUtil.cmd(realCmd, null, dir); }  static String executeGradleCmd(String dir, String cmd); }
GradleUtil { public static String executeGradleCmd(String dir, String cmd) throws IOException, InterruptedException { String realCmd = GRADLE_HOME + File.separator + "bin" + File.separator + "gradle.bat " + cmd; return ShellUtil.cmd(realCmd, null, dir); }  static String executeGradleCmd(String dir, String cmd); static String GRADLE_HOME; }