Commit f76662a6 authored by Dave Syer's avatar Dave Syer

Add spring-jdbc as well if necessary

parent 2b5a67ba
......@@ -33,10 +33,13 @@ public class TransactionManagementCompilerAutoConfiguration extends
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
dependencies.ifAnyMissingClasses(
"org.springframework.transaction.annotation.Transactional").add(
"org.springframework", "spring-tx",
dependencies.getProperty("spring.version"));
dependencies
.ifAnyMissingClasses(
"org.springframework.transaction.annotation.Transactional")
.add("org.springframework", "spring-tx",
dependencies.getProperty("spring.version"))
.add("org.springframework.boot", "spring-boot-starter-aop",
dependencies.getProperty("spring-boot.version"));
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment