mirror of https://github.com/apache/kafka.git
KAFKA-12341: Ensure consistent versions for javassist (#10191)
And update to 3.27.0-GA. Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
0605b690e9
commit
6f2cb60ef6
13
build.gradle
13
build.gradle
|
@ -80,17 +80,14 @@ allprojects {
|
|||
if (name != "zinc") {
|
||||
resolutionStrategy {
|
||||
force(
|
||||
// ensure we have a single version of scala jars in the classpath, we enable inlining
|
||||
// in the scala compiler for the `core` module so binary compatibility is only
|
||||
// guaranteed if the exact same version of the scala jars is used for compilation
|
||||
// and at runtime
|
||||
// be explicit about the javassist dependency version instead of relying on the transitive version
|
||||
libs.javassist,
|
||||
// ensure we have a single version in the classpath despite transitive dependencies
|
||||
libs.scalaLibrary,
|
||||
libs.scalaReflect,
|
||||
// ensures we have a single version of jackson-annotations in the classpath even if
|
||||
// some modules only have a transitive reference to an older version
|
||||
libs.jacksonAnnotations,
|
||||
// be explicit about the Netty dependency version instead of relying on the version
|
||||
// set by ZooKeeper (potentially older and containing CVEs)
|
||||
// be explicit about the Netty dependency version instead of relying on the version set by
|
||||
// ZooKeeper (potentially older and containing CVEs)
|
||||
libs.nettyHandler,
|
||||
libs.nettyTransportNativeEpoll
|
||||
)
|
||||
|
|
|
@ -69,6 +69,7 @@ versions += [
|
|||
jackson: "2.10.5",
|
||||
jacksonDatabind: "2.10.5.1",
|
||||
jacoco: "0.8.5",
|
||||
javassist: "3.27.0-GA",
|
||||
jetty: "9.4.36.v20210114",
|
||||
jersey: "2.31",
|
||||
jline: "3.12.1",
|
||||
|
@ -144,6 +145,7 @@ libs += [
|
|||
jacksonJaxrsJsonProvider: "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$versions.jackson",
|
||||
jaxbApi: "javax.xml.bind:jaxb-api:$versions.jaxb",
|
||||
jaxrsApi: "javax.ws.rs:javax.ws.rs-api:$versions.jaxrs",
|
||||
javassist: "org.javassist:javassist:$versions.javassist",
|
||||
jettyServer: "org.eclipse.jetty:jetty-server:$versions.jetty",
|
||||
jettyClient: "org.eclipse.jetty:jetty-client:$versions.jetty",
|
||||
jettyServlet: "org.eclipse.jetty:jetty-servlet:$versions.jetty",
|
||||
|
|
Loading…
Reference in New Issue