public class DistributionFactory
extends java.lang.Object
| Constructor and Description |
|---|
DistributionFactory(java.io.File userHomeDir) |
| Modifier and Type | Method and Description |
|---|---|
Distribution |
getClasspathDistribution()
Uses the classpath to locate the distribution.
|
Distribution |
getDefaultDistribution(java.io.File projectDir,
boolean searchUpwards)
Returns the default distribution to use for the specified project.
|
Distribution |
getDistribution(java.io.File gradleHomeDir)
Returns the distribution installed in the specified directory.
|
Distribution |
getDistribution(java.lang.String gradleVersion)
Returns the distribution for the specified gradle version.
|
Distribution |
getDistribution(java.net.URI gradleDistribution)
Returns the distribution at the given URI.
|
public Distribution getDefaultDistribution(java.io.File projectDir, boolean searchUpwards)
public Distribution getDistribution(java.io.File gradleHomeDir)
public Distribution getDistribution(java.lang.String gradleVersion)
public Distribution getDistribution(java.net.URI gradleDistribution)
public Distribution getClasspathDistribution()
Copyright © 2013. All rights reserved