Skip to content

Commit

Permalink
Separator flyway dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
hank-cp committed Jan 29, 2023
1 parent afaedcb commit bbaf425
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 2 deletions.
1 change: 1 addition & 0 deletions demo-app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dependencies {
implementation project(':sbp-spring-boot-starter')
implementation project(':sbp-flyway-spring-boot-starter')
implementation project(':demo-shared')
implementation project(':demo-api')
implementation project(':demo-security')
Expand Down
15 changes: 15 additions & 0 deletions sbp-flyway-spring-boot-starter/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
plugins {
id 'java-library'
id 'maven-publish'
}

group = 'org.laxture.sbp'

dependencies {
api project(':sbp-core')

implementation "org.springframework.boot:spring-boot-autoconfigure"
implementation 'org.flywaydb:flyway-core'

annotationProcessor "org.springframework.boot:spring-boot-autoconfigure-processor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Auto Configure
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.laxture.sbp.spring.boot.FlywayClassLoaderConfiguration
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.laxture.sbp.spring.boot.SbpAutoConfiguration,\
org.laxture.sbp.spring.boot.SbpWebMvcPatchAutoConfiguration,\
org.laxture.sbp.spring.boot.SbpWebFluxPatchAutoConfiguration,\
org.laxture.sbp.spring.boot.FlywayClassLoaderConfiguration
org.laxture.sbp.spring.boot.SbpWebFluxPatchAutoConfiguration
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ include 'sbp-core',
'sbp-spring-boot-starter',
VersionNumber.parse("${springBootVersion}") >= VersionNumber.parse("2.5")
? 'sbp-adapter-2.5' : 'sbp-adapter-2',
'sbp-flyway-spring-boot-starter',

'demo-shared',
'demo-security',
Expand Down

0 comments on commit bbaf425

Please sign in to comment.