source: node_modules/highlight.js/lib/languages/gradle.js@ 65b6638

main
Last change on this file since 65b6638 was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 2.0 KB
Line 
1/*
2Language: Gradle
3Description: Gradle is an open-source build automation tool focused on flexibility and performance.
4Website: https://gradle.org
5Author: Damian Mee <mee.damian@gmail.com>
6*/
7
8function gradle(hljs) {
9 return {
10 name: 'Gradle',
11 case_insensitive: true,
12 keywords: {
13 keyword:
14 'task project allprojects subprojects artifacts buildscript configurations ' +
15 'dependencies repositories sourceSets description delete from into include ' +
16 'exclude source classpath destinationDir includes options sourceCompatibility ' +
17 'targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant ' +
18 'def abstract break case catch continue default do else extends final finally ' +
19 'for if implements instanceof native new private protected public return static ' +
20 'switch synchronized throw throws transient try volatile while strictfp package ' +
21 'import false null super this true antlrtask checkstyle codenarc copy boolean ' +
22 'byte char class double float int interface long short void compile runTime ' +
23 'file fileTree abs any append asList asWritable call collect compareTo count ' +
24 'div dump each eachByte eachFile eachLine every find findAll flatten getAt ' +
25 'getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods ' +
26 'isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter ' +
27 'newReader newWriter next plus pop power previous print println push putAt read ' +
28 'readBytes readLines reverse reverseEach round size sort splitEachLine step subMap ' +
29 'times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader ' +
30 'withStream withWriter withWriterAppend write writeLine'
31 },
32 contains: [
33 hljs.C_LINE_COMMENT_MODE,
34 hljs.C_BLOCK_COMMENT_MODE,
35 hljs.APOS_STRING_MODE,
36 hljs.QUOTE_STRING_MODE,
37 hljs.NUMBER_MODE,
38 hljs.REGEXP_MODE
39
40 ]
41 };
42}
43
44module.exports = gradle;
Note: See TracBrowser for help on using the repository browser.