You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -69,7 +69,7 @@ information or have a look at the [Full configuration example](#full-configurati
69
69
### ... with Groovy DSL
70
70
```
71
71
plugins {
72
-
id("de.skuzzle.restrictimports") version("2.6.0")
72
+
id("de.skuzzle.restrictimports") version("2.6.1")
73
73
}
74
74
75
75
restrictImports {
@@ -81,7 +81,7 @@ restrictImports {
81
81
### ... with Kotlin DSL
82
82
```
83
83
plugins {
84
-
id("de.skuzzle.restrictimports") version("2.6.0")
84
+
id("de.skuzzle.restrictimports") version("2.6.1")
85
85
}
86
86
87
87
restrictImports {
@@ -439,7 +439,7 @@ restrictImports {
439
439
When analysing a source file, the plugin collects all groups where the group's
440
440
`basePackage` matches the source file's package name. In case multiple groups are
441
441
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.
443
443
444
444
In the above example, the first group is chosen by default (as by `basePackage=**`) unless a class is matched by the
445
445
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
743
743
discovered. We cover a set of esoteric edge cases, for example block comments within a single import statement and the
744
744
like.
745
745
746
-
> !NOTE]
746
+
> ![NOTE]
747
747
> Plus side to this approach is, that we are mostly agnostic to the Java version you are using. Our parser doesn't
748
748
> need updates even if you want to use latest Java language features in your code base.
*[#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
0 commit comments