protected void checkConversion(String... args) { actualStartParameter = new StartParameter(); actualStartParameter.setCurrentDir(currentDir); commandLineConverter.convert(Arrays.asList(args), actualStartParameter); // We check the params passed to the build factory checkStartParameter(actualStartParameter); }
@Override public GradleExecuter inDirectory(File directory) { parameter.setCurrentDir(directory); return this; }
public GradleBuild() { this.gradleLauncherFactory = getServices().get(GradleLauncherFactory.class); this.startParameter = getServices().get(StartParameter.class).newBuild(); startParameter.setCurrentDir(getProject().getProjectDir()); }