Skip to content

Commit 57ee1be

Browse files
authored
[2.19] Force resolution to plexus-utils:3.5.1 (#20776)
The newer versions of plexus-utils are not compatible with Java 11. Signed-off-by: Andrew Ross <andrross@amazon.com>
1 parent 058d475 commit 57ee1be

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

buildSrc/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ dependencies {
111111
api "commons-io:commons-io:${props.getProperty('commonsio')}"
112112
api "net.java.dev.jna:jna:5.14.0"
113113
api 'com.gradleup.shadow:shadow-gradle-plugin:8.3.10'
114+
constraints {
115+
api('org.codehaus.plexus:plexus-utils') {
116+
version { strictly '3.5.1' }
117+
because 'plexus-utils 4.x is incompatible with Java 11'
118+
}
119+
}
114120
api 'org.jdom:jdom2:2.0.6.1'
115121
api "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${props.getProperty('kotlin')}"
116122
api 'de.thetaphi:forbiddenapis:3.8'

0 commit comments

Comments
 (0)