Class DefaultableLauncherConfig.Builder

java.lang.Object
io.github.srdjanv.localgitdependency.config.impl.defaultable.DefaultableLauncherConfigFields
io.github.srdjanv.localgitdependency.config.impl.defaultable.DefaultableLauncherConfig.Builder
All Implemented Interfaces:
DefaultableLauncherBuilder
Enclosing class:
DefaultableLauncherConfig

public static class DefaultableLauncherConfig.Builder extends DefaultableLauncherConfigFields implements DefaultableLauncherBuilder
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setExecutable

      public void setExecutable(Object path)
      Description copied from interface: DefaultableLauncherBuilder
      The Java the installation path to be used by the gradle process This can take a JavaLauncher, RegularFile, File, Path, String and Property, Provider of anny of these types
      Specified by:
      setExecutable in interface DefaultableLauncherBuilder
      Parameters:
      path - the installation path
    • gradleDaemonMaxIdleTime

      public void gradleDaemonMaxIdleTime(Integer gradleDaemonMaxIdleTime)
      Description copied from interface: DefaultableLauncherBuilder
      For how long should the gradle daemon used for dependency building idle. Use java's TimeUnit class for easy conversion
      Specified by:
      gradleDaemonMaxIdleTime in interface DefaultableLauncherBuilder
      Parameters:
      gradleDaemonMaxIdleTime - the amount of time in seconds
      See Also:
    • forwardOutput

      public void forwardOutput(Boolean forwardOutput)
      Description copied from interface: DefaultableLauncherBuilder
      Setting this to true will forward logs to the standard output, Default true
      Specified by:
      forwardOutput in interface DefaultableLauncherBuilder
      Parameters:
      forwardOutput - setting forwarding