l0bsterssg

node.js static responsive blog post generator
Log | Files | Refs | README

gradle.js (2055B)


      1 /*
      2 Language: Gradle
      3 Description: Gradle is an open-source build automation tool focused on flexibility and performance.
      4 Website: https://gradle.org
      5 Author: Damian Mee <mee.damian@gmail.com>
      6 */
      7 
      8 function 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 
     44 module.exports = gradle;