Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
38 lines (32 loc) · 1.73 KB

File metadata and controls

38 lines (32 loc) · 1.73 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

Groovy Container

The Groovy Container allows uncompiled Groovy files (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
and
  • No .class files exist
Tags groovy=⟨version⟩
Tags are printed to standard output by the buildpack detect script

Any JAR files found in the application are automatically added to the classpath at runtime.

Configuration

For general information on configuring the buildpack, including how to specify configuration values through environment variables, refer to Configuration and Extension.

The container can be configured by modifying the config/groovy.yml file in the buildpack fork. The container uses the Repository utility support and so it supports the version syntax defined there.

Name Description
repository_root The URL of the Groovy repository index (details).
version The version of Groovy to use. Candidate versions can be found in this listing.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.