Sha256: 0ca89d08bfc39434ed2486770f6bffcd435ca4805b8d43f5f9b9ce30e2a80518

Contents?: true

Size: 1.12 KB

Versions: 26

Compression:

Stored size: 1.12 KB

Contents

# -*- coding: utf-8 -*- #

module Rouge
  module Lexers
    load_lexer 'groovy.rb'

    class Gradle < Groovy
      title "Gradle"
      desc "A powerful build system for the JVM"

      tag 'gradle'
      filenames '*.gradle'
      mimetypes 'text/x-gradle'

      def self.keywords
        @keywords ||= super + Set.new(%w(
          allprojects artifacts buildscript configuration dependencies
          repositories sourceSets subprojects publishing
        ))
      end

      def self.types
        @types ||= super + Set.new(%w(
          Project Task Gradle Settings Script JavaToolChain SourceSet
          SourceSetOutput IncrementalTaskInputs Configuration
          ResolutionStrategy ArtifactResolutionQuery ComponentSelection
          ComponentSelectionRules ConventionProperty ExtensionAware
          ExtraPropertiesExtension PublishingExtension IvyPublication
          IvyArtifact IvyArtifactSet IvyModuleDescriptorSpec
          MavenPublication MavenArtifact MavenArtifactSet MavenPom
          PluginDependenciesSpec PluginDependencySpec ResourceHandler
          TextResourceFactory
        ))
      end
    end
  end
end

Version data entries

26 entries across 24 versions & 5 rubygems

Version Path
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/rouge-2.2.1/lib/rouge/lexers/gradle.rb
rouge-3.2.1 lib/rouge/lexers/gradle.rb
rouge-3.2.0 lib/rouge/lexers/gradle.rb
rouge_ecl-1.0.0 lib/rouge/lexers/gradle.rb
rouge_ecl-0.0.1 lib/rouge/lexers/gradle.rb
rouge-3.1.1 lib/rouge/lexers/gradle.rb
rouge-3.1.0 lib/rouge/lexers/gradle.rb
rouge-3.0.0 lib/rouge/lexers/gradle.rb
rouge-2.2.1 lib/rouge/lexers/gradle.rb
rouge-2.2.0 lib/rouge/lexers/gradle.rb
rougegal-2.1.2 lib/rouge/lexers/gradle.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/rouge-2.0.7/lib/rouge/lexers/gradle.rb
tdiary-5.0.5 vendor/bundle/gems/rouge-2.0.7/lib/rouge/lexers/gradle.rb
tdiary-5.0.5 vendor/bundle/gems/rouge-2.1.1/lib/rouge/lexers/gradle.rb
rouge-2.1.1 lib/rouge/lexers/gradle.rb
rouge-2.1.0 lib/rouge/lexers/gradle.rb
tdiary-5.0.4 vendor/bundle/gems/rouge-2.0.7/lib/rouge/lexers/gradle.rb
rouge-2.0.7 lib/rouge/lexers/gradle.rb
rouge-2.0.6 lib/rouge/lexers/gradle.rb
rouge-2.0.5 lib/rouge/lexers/gradle.rb