Skip to content

kordamp/enforcer-gradle-plugin

Repository files navigation

enforcer-gradle-plugin

Build Status Gradle Plugin Portal, link=


Enforce build and project settings. A port of the popular maven-enforcer-plugin.

Usage

settings.gradle
buildscript {
    repositories {
        gradlePluginPortal()
        mavenCentral()
    }
    dependencies {
        classpath 'org.kordamp.gradle:enforcer-gradle-plugin:0.14.0'
    }
}
apply plugin: 'org.kordamp.gradle.enforcer'

Refer to the guide for further information on configuration and usage.

Requirements

  • Java 11

  • Gradle 8+