Add support for compatibility tests
This commit enables the compatibility test plugin to tests against several Spring Framework and Spring Security versions. Closes gh-1493
This commit is contained in:
@@ -3,4 +3,5 @@ version=4.0.12-SNAPSHOT
|
||||
org.gradle.caching=true
|
||||
org.gradle.parallel=true
|
||||
|
||||
compatibilityTestPluginVersion=0.0.3
|
||||
springFrameworkVersion=6.1.18
|
||||
@@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
id "java-library"
|
||||
id "maven-publish"
|
||||
id "io.spring.compatibility-test" version "${compatibilityTestPluginVersion}"
|
||||
id "org.springframework.ws.conventions"
|
||||
id "org.springframework.ws.optional-dependencies"
|
||||
}
|
||||
@@ -58,3 +59,10 @@ dependencies {
|
||||
testImplementation("org.springframework:spring-webflux")
|
||||
testImplementation("org.xmlunit:xmlunit-assertj")
|
||||
}
|
||||
|
||||
compatibilityTest {
|
||||
dependency("Spring Framework") { springFramework ->
|
||||
springFramework.groupId = "org.springframework"
|
||||
springFramework.versions = ["6.0.+", "6.2.+"]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
id "java-library"
|
||||
id "maven-publish"
|
||||
id "io.spring.compatibility-test" version "${compatibilityTestPluginVersion}"
|
||||
id "org.springframework.ws.conventions"
|
||||
id "org.springframework.ws.optional-dependencies"
|
||||
}
|
||||
@@ -31,3 +32,11 @@ dependencies {
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
}
|
||||
|
||||
compatibilityTest {
|
||||
dependency("Spring Security") { springSecurity ->
|
||||
springSecurity.groupId = "org.springframework.security"
|
||||
springSecurity.versions = ["6.2.+", "6.3.+", "6.4.+"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user