Skip to content

Commit

Permalink
Release 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins committed Jan 25, 2024
1 parent a1435bb commit b730979
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<!-- This file is auto generated during release from readme/README.md -->

[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.5.0-rc-2&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.5.0-rc-2/jar)
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.5.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.5.0/jar)
![Gradle Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/de.skuzzle.restrictimports?versionSuffix=2.5.0)
[![Coverage Status](https://coveralls.io/repos/github/skuzzle/restrict-imports-enforcer-rule/badge.svg?branch=master)](https://coveralls.io/github/skuzzle/restrict-imports-enforcer-rule?branch=master)
[![Twitter Follow](https://img.shields.io/twitter/follow/skuzzleOSS.svg?style=social)](https://twitter.com/skuzzleOSS)
[![Twitter Follow](https://img.shields.io/twitter/follow/skuzzleOSS.svg?style=social)](https://twitter.com/ProjectPolly)

# restrict-imports-enforcer-rule
Keep your code base clean and free from usage of unwanted classes! [More](#rationale)
Expand All @@ -16,7 +17,7 @@ Supported source files:

Compatibility:
- Works with Java 8+
- Tested against _maven-enforcer-plugin_ versions `1.4.1` and `3.4.0`.
- Tested against _maven-enforcer-plugin_ versions `1.4.1` and `3.4.1`.

## Maven quick start
This is a minimal usage example. Please scroll down for detailed configuration
Expand All @@ -26,12 +27,12 @@ information or have a look at the [Full configuration example](#full-configurati
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.0</version>
<version>3.4.1</version>
<dependencies>
<dependency>
<groupId>de.skuzzle.enforcer</groupId>
<artifactId>restrict-imports-enforcer-rule</artifactId>
<version>2.5.0-rc-2</version>
<version>2.5.0</version>
</dependency>
</dependencies>
<executions>
Expand Down Expand Up @@ -69,7 +70,7 @@ information or have a look at the [Full configuration example](#full-configurati
### ... with Groovy DSL
```
plugins {
id("de.skuzzle.restrict.imports") version("@2.5.0-rc-2@")
id("de.skuzzle.restrict.imports") version("2.5.0")
}
restrictImports {
Expand All @@ -81,7 +82,7 @@ restrictImports {
### ... with Kotlin DSL
```
plugins {
id("de.skuzzle.restrict.imports") version("@2.5.0-rc-2@")
id("de.skuzzle.restrict.imports") version("2.5.0")
}
restrictImports {
Expand Down
13 changes: 6 additions & 7 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.5.0-rc-2&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.5.0-rc-2/jar)
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.5.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.5.0/jar)
![Gradle Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/de.skuzzle.restrictimports?versionSuffix=2.5.0)

> [!NOTE]
> This is the first release after migrating our build to Gradle and which uses shaded dependencies.
Expand All @@ -9,21 +10,19 @@
* [#59](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/59) Provide a Gradle plugin
* [#118](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/118) Print absolute paths in exception messages to make IntelliJ render clickable links

Maven Central coordinates for this release:

maven
```xml
<dependency>
<groupId>de.skuzzle.enforcer</groupId>
<artifactId>restrict-imports-enforcer-rule</artifactId>
<version>2.5.0-rc-2</version>
<version>2.5.0</version>
</dependency>
```

Gradle plugin DSL
```groovy
plugins {
id("de.skuzzle.restrict.imports") version "2.5.0-rc-2"
id("de.skuzzle.restrict.imports") version "2.5.0"
}
```

Expand All @@ -36,7 +35,7 @@ buildscript {
}
}
dependencies {
classpath("de.skuzzle.enforcer:restrict-imports-gradle-plugin:2.5.0-rc-2")
classpath("de.skuzzle.enforcer:restrict-imports-gradle-plugin:2.5.0")
}
}
Expand All @@ -46,5 +45,5 @@ apply(plugin = "de.skuzzle.restrict.imports")
Gradle version catalog (Toml)
```toml
[plugins]
restrict-imports = { id = "de.skuzzle.restrict.imports", version = "2.5.0-rc-2" }
restrictImports = { id = "de.skuzzle.restrict.imports", version = "2.5.0" }
```

0 comments on commit b730979

Please sign in to comment.