Skip to content

Commit 83ab2f6

Browse files
author
Jenkins
committed
Release 2.6.1
1 parent 4640230 commit 83ab2f6

2 files changed

Lines changed: 15 additions & 16 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- This file is auto generated during release from readme/README.md -->
22

3-
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.6.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.6.0/jar)
4-
[![Gradle Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/de.skuzzle.restrictimports?versionSuffix=2.6.0)](https://plugins.gradle.org/plugin/de.skuzzle.restrictimports/2.6.0)
3+
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.6.1&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.6.1/jar)
4+
[![Gradle Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/de.skuzzle.restrictimports?versionSuffix=2.6.1)](https://plugins.gradle.org/plugin/de.skuzzle.restrictimports/2.6.1)
55
[![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)
66
[![Twitter Follow](https://img.shields.io/twitter/follow/skuzzleOSS.svg?style=social)](https://twitter.com/ProjectPolly)
77

@@ -32,7 +32,7 @@ information or have a look at the [Full configuration example](#full-configurati
3232
<dependency>
3333
<groupId>de.skuzzle.enforcer</groupId>
3434
<artifactId>restrict-imports-enforcer-rule</artifactId>
35-
<version>2.6.0</version>
35+
<version>2.6.1</version>
3636
</dependency>
3737
</dependencies>
3838
<executions>
@@ -69,7 +69,7 @@ information or have a look at the [Full configuration example](#full-configurati
6969
### ... with Groovy DSL
7070
```
7171
plugins {
72-
id("de.skuzzle.restrictimports") version("2.6.0")
72+
id("de.skuzzle.restrictimports") version("2.6.1")
7373
}
7474
7575
restrictImports {
@@ -81,7 +81,7 @@ restrictImports {
8181
### ... with Kotlin DSL
8282
```
8383
plugins {
84-
id("de.skuzzle.restrictimports") version("2.6.0")
84+
id("de.skuzzle.restrictimports") version("2.6.1")
8585
}
8686
8787
restrictImports {
@@ -439,7 +439,7 @@ restrictImports {
439439
When analysing a source file, the plugin collects all groups where the group's
440440
`basePackage` matches the source file's package name. In case multiple groups are
441441
matching, only the group with the _most specific_ base package is retained and the others
442-
are ignored for this file. Have a look at [this](https://github.com/skuzzle/restrict-imports-enforcer-rule/blob/develop/src/test/java/de/skuzzle/enforcer/restrictimports/analyze/PackagePatternSpecifityTest.java#L34) file to have a glance at how _specificity_ works.
442+
are ignored for this file. Have a look at [this](https://github.com/skuzzle/restrict-imports-enforcer-rule/blob/master/restrict-imports-enforcer-rule-core/src/test/java/de/skuzzle/enforcer/restrictimports/analyze/PackagePatternSpecificityTest.java#L34) file to have a glance at how _specificity_ works.
443443

444444
In the above example, the first group is chosen by default (as by `basePackage=**`) unless a class is matched by the
445445
more specific `basePackage` of the second group. In that case, only the definitions from the second group apply to this
@@ -743,7 +743,7 @@ String split operations and only reading each source file up until a non-import
743743
discovered. We cover a set of esoteric edge cases, for example block comments within a single import statement and the
744744
like.
745745

746-
> !NOTE]
746+
> ![NOTE]
747747
> Plus side to this approach is, that we are mostly agnostic to the Java version you are using. Our parser doesn't
748748
> need updates even if you want to use latest Java language features in your code base.
749749

RELEASE_NOTES.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.6.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.6.0/jar)
2-
[![Gradle Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/de.skuzzle.restrictimports?versionSuffix=2.6.0)](https://plugins.gradle.org/plugin/de.skuzzle.restrictimports/2.6.0)
1+
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.6.1&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.6.1/jar) [![Gradle Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/de.skuzzle.restrictimports?versionSuffix=2.6.1)](https://plugins.gradle.org/plugin/de.skuzzle.restrictimports/2.6.1)
32

4-
### Features
5-
* [#177](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/177) Support matching prefix, suffix and infix
6-
parts within a package pattern.
3+
### Bug fixes
4+
* [#221](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/221) Use of parseFullCompilationUnit=true breaks wildcard literal matches
5+
* [#220](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/220) Add error message when multiple groups have identical basePackages
76

87
### Dependency coordinates
98
<details>
@@ -13,7 +12,7 @@ parts within a package pattern.
1312
<dependency>
1413
<groupId>de.skuzzle.enforcer</groupId>
1514
<artifactId>restrict-imports-enforcer-rule</artifactId>
16-
<version>2.6.0</version>
15+
<version>2.6.1</version>
1716
</dependency>
1817
```
1918
</details>
@@ -24,7 +23,7 @@ parts within a package pattern.
2423
Gradle plugin DSL
2524
```groovy
2625
plugins {
27-
id("de.skuzzle.restrictimports") version "2.6.0"
26+
id("de.skuzzle.restrictimports") version "2.6.1"
2827
}
2928
```
3029

@@ -37,7 +36,7 @@ buildscript {
3736
}
3837
}
3938
dependencies {
40-
classpath("de.skuzzle.enforcer:restrict-imports-gradle-plugin:2.6.0")
39+
classpath("de.skuzzle.enforcer:restrict-imports-gradle-plugin:2.6.1")
4140
}
4241
}
4342
@@ -47,6 +46,6 @@ apply(plugin = "de.skuzzle.restrictimports")
4746
Gradle version catalog (Toml)
4847
```toml
4948
[plugins]
50-
restrictImports = { id = "de.skuzzle.restrictimports", version = "2.6.0" }
49+
restrictImports = { id = "de.skuzzle.restrictimports", version = "2.6.1" }
5150
```
5251
</details>

0 commit comments

Comments
 (0)