Commit a60572d5 authored by Alberto Fanjul's avatar Alberto Fanjul Committed by Bastien Nocera
Browse files

Add MIME type for Gradle build tool

https://bugs.freedesktop.org/show_bug.cgi?id=107321
parent 9f4fb11e
......@@ -2410,6 +2410,11 @@ command to generate the output files.
<generic-icon name="text-x-generic"/>
<glob pattern="*.groovy"/>
</mime-type>
<mime-type type="text/x-gradle">
<_comment>Gradle configuration</_comment>
<sub-class-of type="text/x-groovy"/>
<glob pattern="build.gradle"/>
</mime-type>
<mime-type type="application/x-java-jnlp-file">
<_comment>JNLP file</_comment>
<acronym>JNLP</acronym>
......
apply plugin: 'java'
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile "foo:bar:1.0"
testCompile "junit:junit:4.12"
}
......@@ -238,6 +238,7 @@ bug-30656-xchat.conf application/octet-stream oxx
bug-30656-xchat.conf text/plain x
helloworld.java text/x-java ox
helloworld.groovy text/x-groovy ox
build.gradle text/x-gradle ox
# Copied from http://asurvey.net/ccsfagent/media/survey.js
survey.js application/javascript ox
# Copied from gecko/accessible/src/jsat/Utils.jsm in Boot2Gecko
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment