# Groovy Container
The Groovy Container allows a uncompiled (i.e. `*.groovy`) to be run.
| Detection Criteria |
- A .groovy file exists which has a main() method, or
- A .groovy file exists which is not a POGO (a POGO contains one or more classes), or
- A .groovy file exists which has a shebang (#!) declaration
|
| Tags | groovy=〈version〉 |
Tags are printed to standard output by the buildpack detect script
## Configuration
For general information on configuring the buildpack, refer to [Configuration and Extension][].
The container can be configured by modifying the [`config/groovy.yml`][] file. The container uses the [`Repository` utility support][repositories] and so it supports the [version syntax][] defined there.
| Name | Description
| ---- | -----------
| `repository_root` | The URL of the Groovy repository index ([details][repositories]).
| `version` | The version of Groovy to use. Candidate versions can be found in [this listing][].
[Configuration and Extension]: ../README.md#Configuration-and-Extension
[`config/groovy.yml`]: ../config/groovy.yml
[repositories]: util-repositories.md
[this listing]: http://download.pivotal.io.s3.amazonaws.com/groovy/index.yml
[version syntax]: util-repositories.md#version-syntax-and-ordering