Skip to content

Commit bbaf425

Browse files
committed
Separator flyway dependency
1 parent afaedcb commit bbaf425

File tree

6 files changed

+21
-2
lines changed

6 files changed

+21
-2
lines changed

demo-app/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
dependencies {
22
implementation project(':sbp-spring-boot-starter')
3+
implementation project(':sbp-flyway-spring-boot-starter')
34
implementation project(':demo-shared')
45
implementation project(':demo-api')
56
implementation project(':demo-security')
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
plugins {
2+
id 'java-library'
3+
id 'maven-publish'
4+
}
5+
6+
group = 'org.laxture.sbp'
7+
8+
dependencies {
9+
api project(':sbp-core')
10+
11+
implementation "org.springframework.boot:spring-boot-autoconfigure"
12+
implementation 'org.flywaydb:flyway-core'
13+
14+
annotationProcessor "org.springframework.boot:spring-boot-autoconfigure-processor"
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Auto Configure
2+
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
3+
org.laxture.sbp.spring.boot.FlywayClassLoaderConfiguration

sbp-spring-boot-starter/src/main/resources/META-INF/spring.factories

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
33
org.laxture.sbp.spring.boot.SbpAutoConfiguration,\
44
org.laxture.sbp.spring.boot.SbpWebMvcPatchAutoConfiguration,\
5-
org.laxture.sbp.spring.boot.SbpWebFluxPatchAutoConfiguration,\
6-
org.laxture.sbp.spring.boot.FlywayClassLoaderConfiguration
5+
org.laxture.sbp.spring.boot.SbpWebFluxPatchAutoConfiguration

settings.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include 'sbp-core',
22
'sbp-spring-boot-starter',
33
VersionNumber.parse("${springBootVersion}") >= VersionNumber.parse("2.5")
44
? 'sbp-adapter-2.5' : 'sbp-adapter-2',
5+
'sbp-flyway-spring-boot-starter',
56

67
'demo-shared',
78
'demo-security',

0 commit comments

Comments
 (0)