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

## org.gradle.api
[Java] Interface Script

    public interface Script

The base class for all scripts executed by Gradle. This is a extension to the Groovy `Script` class, which adds in some Gradle-specific methods. As your compiled script class will implement this interface, you can use the methods and properties declared here directly in your script.

Generally, a `Script` object will have a delegate object attached to it. For example, a build script will have a Project instance attached to it, and an initialization script will have a Gradle instance attached to it. Any property reference or method call which is not found on this `Script` object is forwarded to the delegate object.

Groovy Documentation