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 {
29
29
api(project(" :spring-boot-project:spring-boot" ))
30
30
api(" org.springframework.integration:spring-integration-core" )
31
31
32
- implementation(project(" :spring-boot-project:spring-boot-sql " ))
32
+ implementation(project(" :spring-boot-project:spring-boot-jdbc " ))
33
33
34
34
optional(project(" :spring-boot-project:spring-boot-actuator-autoconfigure" ))
35
35
optional(project(" :spring-boot-project:spring-boot-autoconfigure" ))
36
- optional(project(" :spring-boot-project:spring-boot-jdbc" ))
37
36
optional(project(" :spring-boot-project:spring-boot-metrics" ))
38
37
optional(project(" :spring-boot-project:spring-boot-rsocket" ))
39
38
optional(" org.springframework.integration:spring-integration-jdbc" )
Original file line number Diff line number Diff line change 41
41
import org .springframework .boot .context .properties .EnableConfigurationProperties ;
42
42
import org .springframework .boot .context .properties .PropertyMapper ;
43
43
import org .springframework .boot .context .properties .source .MutuallyExclusiveConfigurationPropertiesException ;
44
+ import org .springframework .boot .jdbc .autoconfigure .DataSourceAutoConfiguration ;
44
45
import org .springframework .boot .jdbc .init .DataSourceScriptDatabaseInitializer ;
45
46
import org .springframework .boot .sql .autoconfigure .init .OnDatabaseInitializationCondition ;
46
47
import org .springframework .boot .task .SimpleAsyncTaskSchedulerBuilder ;
88
89
* @since 4.0.0
89
90
*/
90
91
@ 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 } )
93
94
@ ConditionalOnClass (EnableIntegration .class )
94
95
@ EnableConfigurationProperties ({ IntegrationProperties .class , JmxProperties .class })
95
96
public class IntegrationAutoConfiguration {
Original file line number Diff line number Diff line change @@ -30,11 +30,10 @@ dependencies {
30
30
api(" org.quartz-scheduler:quartz" )
31
31
api(" org.springframework:spring-context-support" )
32
32
33
- implementation(project(" :spring-boot-project:spring-boot-sql " ))
33
+ implementation(project(" :spring-boot-project:spring-boot-jdbc " ))
34
34
35
35
optional(project(" :spring-boot-project:spring-boot-actuator-autoconfigure" ))
36
36
optional(project(" :spring-boot-project:spring-boot-autoconfigure" ))
37
- optional(project(" :spring-boot-project:spring-boot-jdbc" ))
38
37
optional(project(" :spring-boot-project:spring-boot-hibernate" ))
39
38
40
39
testImplementation(project(" :spring-boot-project:spring-boot-flyway" ))
Original file line number Diff line number Diff line change 34
34
import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
35
35
import org .springframework .boot .autoconfigure .condition .ConditionalOnSingleCandidate ;
36
36
import org .springframework .boot .context .properties .EnableConfigurationProperties ;
37
+ import org .springframework .boot .jdbc .autoconfigure .DataSourceAutoConfiguration ;
37
38
import org .springframework .boot .sql .autoconfigure .init .OnDatabaseInitializationCondition ;
38
39
import org .springframework .boot .sql .init .dependency .DatabaseInitializationDependencyConfigurer ;
39
40
import org .springframework .context .ApplicationContext ;
51
52
*
52
53
* @author Vedran Pavic
53
54
* @author Stephane Nicoll
55
+ * @author Yanming Zhou
54
56
* @since 4.0.0
55
57
*/
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" })
58
60
@ ConditionalOnClass ({ Scheduler .class , SchedulerFactoryBean .class , PlatformTransactionManager .class })
59
61
@ EnableConfigurationProperties (QuartzProperties .class )
60
62
public class QuartzAutoConfiguration {
You can’t perform that action at this time.
0 commit comments