text/x-groovy
Groovy source code
| Description | Groovy source code |
|---|---|
| File extensions | .groovy, .gsh, .gvy, .gy |
| Based on | text/x-csrc |
Frequently asked questions
What is the MIME type text/x-groovy?
text/x-groovy denotes “Groovy source code”.
Which file extension does text/x-groovy use?
Files of type text/x-groovy usually end in .groovy, .gsh, .gvy and .gy.
How does a web server serve text/x-groovy correctly?
With the header Content-Type: text/x-groovy. In nginx: types { text/x-groovy groovy gsh gvy gy; }; in Apache: AddType text/x-groovy .groovy .gsh .gvy .gy.
Which formats are based on text/x-groovy?
Formats based on it include Gradle script.
Formats based on it
- text/x-gradle – Gradle script