Compile: is used to compile the source code of the project
Install: installs the package into the local repository, for use as a dependency in other projects locally.
Design patterns can also be used with Groovy.