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);
 }
Пример #2
0
 @Override
 public GradleExecuter inDirectory(File directory) {
   parameter.setCurrentDir(directory);
   return this;
 }
Пример #3
0
 public GradleBuild() {
   this.gradleLauncherFactory = getServices().get(GradleLauncherFactory.class);
   this.startParameter = getServices().get(StartParameter.class).newBuild();
   startParameter.setCurrentDir(getProject().getProjectDir());
 }