Skip to content

v2.5.0-rc-1

Pre-release
Pre-release
Compare
Choose a tag to compare
@skuzzle skuzzle released this 19 Jan 16:53
· 167 commits to master since this release

Maven Central

Features

  • #59 Provide a Gradle plugin

Maven Central coordinates for this release:

maven

<dependency>
    <groupId>de.skuzzle.enforcer</groupId>
    <artifactId>restrict-imports-enforcer-rule</artifactId>
    <version>2.5.0-rc-1</version>
</dependency>

Gradle plugin DSL

plugins {
  id("de.skuzzle.restrict.imports") version "2.5.0-rc-1"
}

Gradle Legacy

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

apply(plugin = "de.skuzzle.restrict.imports")

Gradle version catalog (Toml)

[plugins]
restrict-imports = { id = "de.skuzzle.restrict.imports", version = "2.5.0-rc-1" }