Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

## org.gradle
Interface GradleFactory

    interface GradleFactory

A `GradleFactory` is responsible for creating a org.gradle.Gradle instance for a build, from a org.gradle.StartParameter.

author:
  Hans Dockter

Method Summary
`StartParameter` | `createStartParameter(java.lang.String[] commandLineArgs)`
`Gradle` | `newInstance(StartParameter startParameter)` Creates a new {
`Gradle` | `newInstance(java.lang.String[] commandLineArgs)`

Method Detail

### createStartParameter

    public StartParameter createStartParameter(java.lang.String[] commandLineArgs)

### newInstance

    public Gradle newInstance(StartParameter startParameter)

  Creates a new org.gradle.Gradle instance for the given parameters.
  param:
    startParameter The parameters to use for the build.
  return:
    The new instance.

### newInstance

    public Gradle newInstance(java.lang.String[] commandLineArgs)

Groovy Documentation