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;
 }
Esempio n. 3
0
 public GradleBuild() {
   this.gradleLauncherFactory = getServices().get(GradleLauncherFactory.class);
   this.startParameter = getServices().get(StartParameter.class).newBuild();
   startParameter.setCurrentDir(getProject().getProjectDir());
 }