File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -335,10 +335,16 @@ project(':embedded-database-spring-test') {
335335 " testRuntimeClasspath_${ suite.name} _${ version.name} " {
336336 extendsFrom testRuntimeClasspath
337337
338- if (version. flyway != null && (version. flyway. startsWith(' 10.' ) || version. flyway. startsWith(' 11.' ))) {
338+ if (version. flyway != null && (version. flyway. startsWith(' 10.' ) || version. flyway. startsWith(' 11.' ) || version . flyway . startsWith( ' 12. ' ) )) {
339339 dependencies. add(project. dependencies. create(" org.flywaydb:flyway-database-postgresql:${ version.flyway} " ))
340340 }
341341
342+ if (version[' spring-boot' ] != null && (version[' spring-boot' ]. startsWith(' 4.' ))) {
343+ dependencies. add(project. dependencies. create(" org.springframework.boot:spring-boot-starter-data-jpa-test:${ version['spring-boot']} " ))
344+ dependencies. add(project. dependencies. create(" org.springframework.boot:spring-boot-starter-flyway:${ version['spring-boot']} " ))
345+ dependencies. add(project. dependencies. create(" org.springframework.boot:spring-boot-starter-liquibase:${ version['spring-boot']} " ))
346+ }
347+
342348 resolutionStrategy {
343349
344350 eachDependency { details ->
You can’t perform that action at this time.
0 commit comments