Skip to content

Commit c32f65e

Browse files
committed
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
1 parent 016bb13 commit c32f65e

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ version=4.0.12-SNAPSHOT
33
org.gradle.caching=true
44
org.gradle.parallel=true
55

6+
compatibilityTestPluginVersion=0.0.3
67
springFrameworkVersion=6.1.18

spring-ws-core/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id "java-library"
33
id "maven-publish"
4+
id "io.spring.compatibility-test" version "${compatibilityTestPluginVersion}"
45
id "org.springframework.ws.conventions"
56
id "org.springframework.ws.optional-dependencies"
67
}
@@ -58,3 +59,10 @@ dependencies {
5859
testImplementation("org.springframework:spring-webflux")
5960
testImplementation("org.xmlunit:xmlunit-assertj")
6061
}
62+
63+
compatibilityTest {
64+
dependency("Spring Framework") { springFramework ->
65+
springFramework.groupId = "org.springframework"
66+
springFramework.versions = ["6.0.+", "6.2.+"]
67+
}
68+
}

spring-ws-security/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id "java-library"
33
id "maven-publish"
4+
id "io.spring.compatibility-test" version "${compatibilityTestPluginVersion}"
45
id "org.springframework.ws.conventions"
56
id "org.springframework.ws.optional-dependencies"
67
}
@@ -31,3 +32,11 @@ dependencies {
3132
testImplementation("org.junit.jupiter:junit-jupiter")
3233
testImplementation("org.springframework:spring-test")
3334
}
35+
36+
compatibilityTest {
37+
dependency("Spring Security") { springSecurity ->
38+
springSecurity.groupId = "org.springframework.security"
39+
springSecurity.versions = ["6.2.+", "6.3.+", "6.4.+"]
40+
}
41+
}
42+

0 commit comments

Comments
 (0)