text/x-gradle
Gradle script
| Description | Gradle script |
|---|---|
| File extensions | .gradle |
| Based on | text/x-groovy |
Frequently asked questions
What is the MIME type text/x-gradle?
text/x-gradle denotes “Gradle script”.
Which file extension does text/x-gradle use?
Files of type text/x-gradle usually end in .gradle.
How does a web server serve text/x-gradle correctly?
With the header Content-Type: text/x-gradle. In nginx: types { text/x-gradle gradle; }; in Apache: AddType text/x-gradle .gradle.