Class InstallationLayoutFactory

java.lang.Object
com.brunoritz.gradle.singularnode.platform.layout.InstallationLayoutFactory

public final class InstallationLayoutFactory extends Object
A factory that produces environment dependent installation layouts.
  • Method Details

    • platformDependentLayout

      public static io.vavr.control.Option<InstallationLayout> platformDependentLayout(org.gradle.api.file.DirectoryProperty installBaseDir)
      Creates a new installation layout starting at the given installation base directoy. The layout represented depends on the execution platforn. Any NodeJS and Yarn installations are to be made under installBaseDir.
      Parameters:
      installBaseDir - The parent directory of all tooling managed by this plugin