Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 1.63 KB

RELEASE_NOTES.md

File metadata and controls

49 lines (42 loc) · 1.63 KB

Maven Central Gradle Plugin Portal

Note

This is the first release after migrating our build to Gradle and which uses shaded dependencies. If you encounter any irregularities with this version, please do not hesitate to file an issue.

Features

  • #38 Dependencies are shaded into plugin artifacts
  • #59 Provide a Gradle plugin
  • #118 Print absolute paths in exception messages to make IntelliJ render clickable links

maven

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

Gradle plugin DSL

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

Gradle Legacy

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

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

Gradle version catalog (Toml)

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