]> luflow.net public git repositories - flow-web.git/blob - static/highlight/es/languages/gradle.js
Initial commit.
[flow-web.git] / static / highlight / es / languages / gradle.js
1 /*! `gradle` grammar compiled for Highlight.js 11.11.1 */
2 var hljsGrammar = (function () {
3 'use strict';
4
5 /*
6 Language: Gradle
7 Description: Gradle is an open-source build automation tool focused on flexibility and performance.
8 Website: https://gradle.org
9 Author: Damian Mee <mee.damian@gmail.com>
10 Category: build-system
11 */
12
13 function gradle(hljs) {
14 const KEYWORDS = [
15 "task",
16 "project",
17 "allprojects",
18 "subprojects",
19 "artifacts",
20 "buildscript",
21 "configurations",
22 "dependencies",
23 "repositories",
24 "sourceSets",
25 "description",
26 "delete",
27 "from",
28 "into",
29 "include",
30 "exclude",
31 "source",
32 "classpath",
33 "destinationDir",
34 "includes",
35 "options",
36 "sourceCompatibility",
37 "targetCompatibility",
38 "group",
39 "flatDir",
40 "doLast",
41 "doFirst",
42 "flatten",
43 "todir",
44 "fromdir",
45 "ant",
46 "def",
47 "abstract",
48 "break",
49 "case",
50 "catch",
51 "continue",
52 "default",
53 "do",
54 "else",
55 "extends",
56 "final",
57 "finally",
58 "for",
59 "if",
60 "implements",
61 "instanceof",
62 "native",
63 "new",
64 "private",
65 "protected",
66 "public",
67 "return",
68 "static",
69 "switch",
70 "synchronized",
71 "throw",
72 "throws",
73 "transient",
74 "try",
75 "volatile",
76 "while",
77 "strictfp",
78 "package",
79 "import",
80 "false",
81 "null",
82 "super",
83 "this",
84 "true",
85 "antlrtask",
86 "checkstyle",
87 "codenarc",
88 "copy",
89 "boolean",
90 "byte",
91 "char",
92 "class",
93 "double",
94 "float",
95 "int",
96 "interface",
97 "long",
98 "short",
99 "void",
100 "compile",
101 "runTime",
102 "file",
103 "fileTree",
104 "abs",
105 "any",
106 "append",
107 "asList",
108 "asWritable",
109 "call",
110 "collect",
111 "compareTo",
112 "count",
113 "div",
114 "dump",
115 "each",
116 "eachByte",
117 "eachFile",
118 "eachLine",
119 "every",
120 "find",
121 "findAll",
122 "flatten",
123 "getAt",
124 "getErr",
125 "getIn",
126 "getOut",
127 "getText",
128 "grep",
129 "immutable",
130 "inject",
131 "inspect",
132 "intersect",
133 "invokeMethods",
134 "isCase",
135 "join",
136 "leftShift",
137 "minus",
138 "multiply",
139 "newInputStream",
140 "newOutputStream",
141 "newPrintWriter",
142 "newReader",
143 "newWriter",
144 "next",
145 "plus",
146 "pop",
147 "power",
148 "previous",
149 "print",
150 "println",
151 "push",
152 "putAt",
153 "read",
154 "readBytes",
155 "readLines",
156 "reverse",
157 "reverseEach",
158 "round",
159 "size",
160 "sort",
161 "splitEachLine",
162 "step",
163 "subMap",
164 "times",
165 "toInteger",
166 "toList",
167 "tokenize",
168 "upto",
169 "waitForOrKill",
170 "withPrintWriter",
171 "withReader",
172 "withStream",
173 "withWriter",
174 "withWriterAppend",
175 "write",
176 "writeLine"
177 ];
178 return {
179 name: 'Gradle',
180 case_insensitive: true,
181 keywords: KEYWORDS,
182 contains: [
183 hljs.C_LINE_COMMENT_MODE,
184 hljs.C_BLOCK_COMMENT_MODE,
185 hljs.APOS_STRING_MODE,
186 hljs.QUOTE_STRING_MODE,
187 hljs.NUMBER_MODE,
188 hljs.REGEXP_MODE
189
190 ]
191 };
192 }
193
194 return gradle;
195
196 })();
197 ;
198 export default hljsGrammar;