@@ -42,13 +42,13 @@ dependencies {
4242 api group : ' org.springframework' , name : ' spring-beans' , version : springVersion
4343 api group : ' org.springframework' , name : ' spring-jms' , version : springVersion
4444
45- if (! springBootVersion. startsWith(" 4" )) {
45+ if (springBootVersion. startsWith(" 4" )) {
46+ api group : ' org.springframework.boot' , name : ' spring-boot-starter-jms' , version : springBootVersion
47+ api group : ' org.springframework.boot' , name : ' spring-boot-transaction' , version : springBootVersion
48+ } else {
4649 api group : ' org.springframework.boot' , name : ' spring-boot-starter' , version : springBootVersion
4750 api group : ' org.springframework.boot' , name : ' spring-boot' , version : springBootVersion
4851 api group : ' org.springframework.boot' , name : ' spring-boot-autoconfigure' , version : springBootVersion
49- } else {
50- api group : ' org.springframework.boot' , name : ' spring-boot-starter-jms' , version : springBootVersion
51- api group : ' org.springframework.boot' , name : ' spring-boot-tx' , version : springBootVersion
5252 }
5353
5454 annotationProcessor group :' org.springframework.boot' , name :' spring-boot-configuration-processor' , version : springBootVersion
@@ -58,7 +58,7 @@ dependencies {
5858 // Testing - these are not put into the pom.xml describing our uploaded jars
5959 testImplementation group : ' org.springframework.boot' , name : ' spring-boot-starter-test' , version : springBootVersion
6060 testImplementation group : ' org.mockito' , name :' mockito-core' , version : mockitoVersion
61-
61+
6262 // Setting up the dependencies needed for JUnit5 testing
6363 testImplementation group :' org.junit.jupiter' , name :' junit-jupiter-api' , version : jUnitVersion
6464 testRuntimeOnly group :' org.junit.jupiter' , name :' junit-jupiter-engine' , version : jUnitVersion
@@ -83,6 +83,6 @@ tasks.test {
8383 testLogging {
8484 // events "PASSED", "SKIPPED", "FAILED", "STANDARD_OUT", "STANDARD_ERROR"
8585 events " PASSED" , " SKIPPED" , " FAILED"
86-
86+
8787 }
8888}
0 commit comments