Class DefaultHomeLocator

All Implemented Interfaces:
ExtensionPoint, Describable<HomeLocator>, Serializable

public class DefaultHomeLocator extends HomeLocator
Uses NPM's default global cache, which is actually ~/.android on Unix system or %HOME%\.android on Windows system.
See Also:
  • Constructor Details

    • DefaultHomeLocator

      @DataBoundConstructor public DefaultHomeLocator()
  • Method Details

    • locate

      public FilePath locate(@NonNull FilePath workspace)
      Description copied from class: HomeLocator
      Called during the build on the master to determine the location of the local SDK home location.
      Specified by:
      locate in class HomeLocator
      Parameters:
      workspace - the workspace file path locator
      Returns:
      null to let SDK build tool uses its default location. Otherwise this must be located on the same node as described by this path.