Skip to content

Latest commit

 

History

History
52 lines (44 loc) · 1.38 KB

RELEASE_NOTES.md

File metadata and controls

52 lines (44 loc) · 1.38 KB

Maven Central Gradle Plugin Portal

Features

  • #177 Support matching prefix, suffix and infix parts within a package pattern.

Dependency coordinates

Maven dependency declaration
<dependency>
    <groupId>de.skuzzle.enforcer</groupId>
    <artifactId>restrict-imports-enforcer-rule</artifactId>
    <version>2.6.0</version>
</dependency>
Gradle dependency declaration

Gradle plugin DSL

plugins {
  id("de.skuzzle.restrictimports") version "2.6.0"
}

Gradle Legacy

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("de.skuzzle.enforcer:restrict-imports-gradle-plugin:2.6.0")
  }
}

apply(plugin = "de.skuzzle.restrictimports")

Gradle version catalog (Toml)

[plugins]
restrictImports = { id = "de.skuzzle.restrictimports", version = "2.6.0" }