File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,16 +174,19 @@ allprojects {
174174 libs. scalaLibrary,
175175 libs. scalaReflect,
176176 libs. jacksonAnnotations,
177- // AutoMQ inject start
178- libs. snakeyaml,
179- // AutoMQ inject end
180177 // be explicit about the Netty dependency version instead of relying on the version set by
181178 // ZooKeeper (potentially older and containing CVEs)
182179 libs. nettyHandler,
183180 libs. nettyTransportNativeEpoll,
184181 // be explicit about the reload4j version instead of relying on the transitive versions
185182 libs. reload4j
186183 )
184+ // AutoMQ inject start
185+ // swagger is only used for doc generation and still depends on jackson-yaml compatible with SnakeYAML 1.x.
186+ if (name != " swagger" ) {
187+ force(libs. snakeyaml)
188+ }
189+ // AutoMQ inject end
187190 }
188191 }
189192 }
You can’t perform that action at this time.
0 commit comments