Search Gradle plugins

Version 0.14.0 (latest)

0.14.0

Created 07 August 2024.

Configures Enforcer rules

Using the plugins DSL:

plugins {
  id("org.kordamp.gradle.enforcer") version "0.14.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.kordamp.gradle:enforcer-gradle-plugin:0.14.0")
  }
}

apply(plugin = "org.kordamp.gradle.enforcer")

Using the plugins DSL:

plugins {
  id "org.kordamp.gradle.enforcer" version "0.14.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.kordamp.gradle:enforcer-gradle-plugin:0.14.0"
  }
}

apply plugin: "org.kordamp.gradle.enforcer"

Learn how to apply plugins to subprojects