Script
interface Script
This interface is implemented by all Gradle Groovy DSL scripts to add in some Gradle-specific methods. As your compiled script class will implement this interface, you can use the methods and properties declared by this interface 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  instance attached to it. Any property reference or method call which is not found on this Script object is forwarded to the delegate object.
Functions
Link copied to clipboard
                  Configures the classpath for this script.
Link copied to clipboard
                  Copy the specified files.
Link copied to clipboard
                  Creates a org.gradle.api.file.CopySpec which can later be used to copy files or create an archive.
Link copied to clipboard
                  Executes an external command.
Link copied to clipboard
                  Link copied to clipboard
                  Returns a ConfigurableFileCollection containing the given files.
Creates a new 
ConfigurableFileCollection using the given paths.Link copied to clipboard
                  Creates a new 
ConfigurableFileTree using the given base directory.Creates a new 
ConfigurableFileTree using the provided map of arguments.Link copied to clipboard
                  Returns the script handler for this script.
Link copied to clipboard
                  Returns the org.gradle.api.logging.LoggingManager which can be used to receive logging and to control the standard output/error capture for this script.
Link copied to clipboard
                  Provides access to resource-specific utility methods, for example factory methods that create various resources.
Link copied to clipboard
                  Executes a Java main class.
Link copied to clipboard
                  Returns the relative path from the directory containing this script to the given path.