Search Gradle plugins

Version 0.1.0

0.1.0

Created 26 April 2020.

Configures Enforcer rules

Using the plugins DSL:

plugins {
  id("org.kordamp.gradle.project-enforcer") version "0.1.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "org.kordamp.gradle.project-enforcer" version "0.1.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects