File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
src/main/java/org/springframework/boot/integration/autoconfigure
src/main/java/org/springframework/boot/quartz/autoconfigure Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,10 @@ dependencies {
2929 api(project(" :spring-boot-project:spring-boot" ))
3030 api(" org.springframework.integration:spring-integration-core" )
3131
32- implementation(project(" :spring-boot-project:spring-boot-sql " ))
32+ implementation(project(" :spring-boot-project:spring-boot-jdbc " ))
3333
3434 optional(project(" :spring-boot-project:spring-boot-actuator-autoconfigure" ))
3535 optional(project(" :spring-boot-project:spring-boot-autoconfigure" ))
36- optional(project(" :spring-boot-project:spring-boot-jdbc" ))
3736 optional(project(" :spring-boot-project:spring-boot-metrics" ))
3837 optional(project(" :spring-boot-project:spring-boot-rsocket" ))
3938 optional(" org.springframework.integration:spring-integration-jdbc" )
Original file line number Diff line number Diff line change 4141import org .springframework .boot .context .properties .EnableConfigurationProperties ;
4242import org .springframework .boot .context .properties .PropertyMapper ;
4343import org .springframework .boot .context .properties .source .MutuallyExclusiveConfigurationPropertiesException ;
44+ import org .springframework .boot .jdbc .autoconfigure .DataSourceAutoConfiguration ;
4445import org .springframework .boot .jdbc .init .DataSourceScriptDatabaseInitializer ;
4546import org .springframework .boot .sql .autoconfigure .init .OnDatabaseInitializationCondition ;
4647import org .springframework .boot .task .SimpleAsyncTaskSchedulerBuilder ;
8889 * @since 4.0.0
8990 */
9091@ AutoConfiguration (beforeName = "org.springframework.boot.rsocket.autoconfigure.RSocketMessagingAutoConfiguration" ,
91- after = { JmxAutoConfiguration .class , TaskSchedulingAutoConfiguration .class } ,
92- afterName = "org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration" )
92+ after = { DataSourceAutoConfiguration .class , JmxAutoConfiguration .class ,
93+ TaskSchedulingAutoConfiguration . class } )
9394@ ConditionalOnClass (EnableIntegration .class )
9495@ EnableConfigurationProperties ({ IntegrationProperties .class , JmxProperties .class })
9596public class IntegrationAutoConfiguration {
Original file line number Diff line number Diff line change @@ -30,11 +30,10 @@ dependencies {
3030 api(" org.quartz-scheduler:quartz" )
3131 api(" org.springframework:spring-context-support" )
3232
33- implementation(project(" :spring-boot-project:spring-boot-sql " ))
33+ implementation(project(" :spring-boot-project:spring-boot-jdbc " ))
3434
3535 optional(project(" :spring-boot-project:spring-boot-actuator-autoconfigure" ))
3636 optional(project(" :spring-boot-project:spring-boot-autoconfigure" ))
37- optional(project(" :spring-boot-project:spring-boot-jdbc" ))
3837 optional(project(" :spring-boot-project:spring-boot-hibernate" ))
3938
4039 testImplementation(project(" :spring-boot-project:spring-boot-flyway" ))
Original file line number Diff line number Diff line change 3434import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
3535import org .springframework .boot .autoconfigure .condition .ConditionalOnSingleCandidate ;
3636import org .springframework .boot .context .properties .EnableConfigurationProperties ;
37+ import org .springframework .boot .jdbc .autoconfigure .DataSourceAutoConfiguration ;
3738import org .springframework .boot .sql .autoconfigure .init .OnDatabaseInitializationCondition ;
3839import org .springframework .boot .sql .init .dependency .DatabaseInitializationDependencyConfigurer ;
3940import org .springframework .context .ApplicationContext ;
5152 *
5253 * @author Vedran Pavic
5354 * @author Stephane Nicoll
55+ * @author Yanming Zhou
5456 * @since 4.0.0
5557 */
56- @ AutoConfiguration (afterName = { "org.springframework.boot.jdbc.autoconfigure. DataSourceAutoConfiguration" ,
57- "org.springframework.boot.hibernate.autoconfigure.HibernateJpaAutoConfiguration" })
58+ @ AutoConfiguration (after = DataSourceAutoConfiguration . class ,
59+ afterName = { "org.springframework.boot.hibernate.autoconfigure.HibernateJpaAutoConfiguration" })
5860@ ConditionalOnClass ({ Scheduler .class , SchedulerFactoryBean .class , PlatformTransactionManager .class })
5961@ EnableConfigurationProperties (QuartzProperties .class )
6062public class QuartzAutoConfiguration {
You can’t perform that action at this time.
0 commit comments