Limit Spring Batch versions and exclude newly released 5.0 (#7305)

This commit is contained in:
Mateusz Rzeszutek 2022-11-24 14:08:12 +01:00 committed by GitHub
parent c4ceaaa8d9
commit 6ea1c2414a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,7 @@ muzzle {
pass {
group.set("org.springframework.batch")
module.set("spring-batch-core")
versions.set("[3.0.0.RELEASE,)")
versions.set("[3.0.0.RELEASE,5)")
assertInverse.set(true)
}
}
@ -17,6 +17,9 @@ dependencies {
testImplementation("javax.inject:javax.inject:1")
// SimpleAsyncTaskExecutor context propagation
testInstrumentation(project(":instrumentation:spring:spring-core-2.0:javaagent"))
// spring batch 5.0 uses spring framework 6.0
latestDepTestLibrary("org.springframework.batch:spring-batch-core:4.+")
}
tasks {