Skip to content

Commit e837b33

Browse files
committed
Bump Enforcer version
This follows up on kordamp/enforcer-gradle-plugin#33. The maintainer released a new version with an updated commons-lang3 dependency that no longer clashes with other plugins also relying on commons-lang3.
1 parent 5829976 commit e837b33

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ checkstyleVersion=10.17.0
55
coverageBranches=1.00
66
coverageInstructions=1.00
77
coverageLines=1.00
8-
enforcerPluginVersion=0.13.0
8+
# Use Enforcer 0.14.0 or higher which fixes a clash with DependencyCheck
9+
enforcerPluginVersion=0.14.0
910
findsecbugsPluginVersion=1.13.0
1011
# Hey! This is important. This property sets your Gradle version.
1112
gradleWrapperVersion=8.9

settings.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ buildscript {
1818
}
1919

2020
dependencies {
21-
// Enforcer plugin uses an older version of commons-lang3 that breaks
22-
// DependencyCheck. Force a current version.
23-
// TODO: Look for an updated Enforcer plugin that does not clash.
24-
classpath "org.apache.commons:commons-lang3:3.15.0"
2521
classpath "org.kordamp.gradle:enforcer-gradle-plugin:$enforcerPluginVersion"
2622
}
2723
}

0 commit comments

Comments
 (0)