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
(Here, jenkinsVersion is the version of Jenkins core I am using.)
The Jenkins core BOM defines the old versions of Groovy and Guice used by Jenkins core. By importing this BOM using enforcedPlatform, the versions defined in the BOM override the newer versions found in the dependency graph. Note that you must be using Gradle 5.0 or later to be able to import Maven BOMs.
I'll look to make use of enforcedPlatform for the Jenkins BOM or some other dependency maneuvering to ensure runtime compatibility in the next release.
Jenkins core still uses Guava 11:
https://github.com/jenkinsci/jenkins/blob/d4690b20f9dc170f7657c6b36df2c0d48a217ebe/bom/pom.xml#L42
My integration test uses http-request-plugin 1.8.26. Looking at the dependencies of the Gradle plugin, Guava 18 is used:
Guava 18 does not contain
com.google.common.collect.Ranges
any more and my integration test using http-request-plugin fails to import that class. See https://github.com/jenkinsci/http-request-plugin/blob/eb45bd7e963903f355c22377266fe907c9ea45f7/src/main/java/jenkins/plugins/http_request/HttpRequest.java#L27The text was updated successfully, but these errors were encountered: