restrict-imports-enforcer-rule icon indicating copy to clipboard operation
restrict-imports-enforcer-rule copied to clipboard

Gradle plugin & Maven Enforcer rule that restricts usage of unwanted imports in Java, Kotlin and Groovy source files.

Results 21 restrict-imports-enforcer-rule issues
Sort by recently updated
recently updated
newest added

We had a few configurations in our project, that had multiple bannedImport-elements. The first (or the last) is only considered, the others are ignored. We should add something to prevent...

The repository name and group ids of published artifacts should be rebranded to reflect that we now also have a gradle plugin. Proposal: * Repository name: `restrict-imports-plugin` * Enforcer Plugin:...

The interfaces `EnforcerRule` and `EnforcerRule2` have been deprecated in favor of the new abstract class `AbstractEnforcerRule`. However this poses a big problem as our rule implementation already need to inherit...

Currently package pattern matching works by comparing the pattern with the the package string part by part. However this might give inaccurate results when using wildcards. TBC

We have been using `true`(#57) smoothly for quite a while. Now we encounter an error after converting an enum to _local_ enum: `(line 298,col 14) Parse error. Found "{", expected...

Bumps com.github.kt3k.coveralls from 2.12.0 to 2.12.2. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.github.kt3k.coveralls&package-manager=gradle&previous-version=2.12.0&new-version=2.12.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies

Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.11.0 to 5.12.0. Release notes Sourced from org.mockito:mockito-core's releases. v5.12.0 Changelog generated by Shipkit Changelog Gradle Plugin 5.12.0 2024-05-11 - 25 commit(s) by Piotr Przybylak, Stefano Cordio,...

dependencies

Bumps `bytebuddy` from 1.14.13 to 1.14.16. Updates `net.bytebuddy:byte-buddy` from 1.14.13 to 1.14.16 Release notes Sourced from net.bytebuddy:byte-buddy's releases. Byte Buddy 1.14.16 Update ASM and introduce support for Java 23. Byte...

dependencies

Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.10.2 to 5.10.3. Release notes Sourced from org.junit:junit-bom's releases. JUnit 5.10.3 = Platform 1.10.3 + Jupiter 5.10.3 + Vintage 5.10.3 See Release Notes. Full Changelog: https://github.com/junit-team/junit5/compare/r5.10.2...r5.10.3 Commits...

dependencies