Search Gradle plugins

org.ec4j.editorconfig

A Gradle plugin for checking whether project files comply with format rules defined in .editorconfig files and eventually also for fixing the violations

https://github.com/ec4j/editorconfig-gradle-plugin

Sources: https://github.com/ec4j/editorconfig-gradle-plugin.git

Version 0.1.0 (latest)

Created 25 January 2024.

A Gradle plugin for checking whether project files comply with format rules defined in .editorconfig files and eventually also for fixing the violations

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.ec4j.editorconfig") version "0.1.0"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("org.ec4j.editorconfig:org.ec4j.editorconfig.gradle.plugin:0.1.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.ec4j.editorconfig")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.ec4j.editorconfig:org.ec4j.editorconfig.gradle.plugin:0.1.0")
      }
    }
    
    apply(plugin = "org.ec4j.editorconfig")
  • Applying plugins to all subprojects .