Skip to content

Commit

Permalink
Merge pull request #279 from mfvanek/feature/update-spring
Browse files Browse the repository at this point in the history
Update Spring Boot
  • Loading branch information
mfvanek authored Nov 25, 2024
2 parents a6b6ba4 + aec59e3 commit a2fac2b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pg-index-health-spring-boot-demo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ plugins {
id("pg-index-health-demo.java-conventions")
id("pg-index-health-demo.forbidden-apis")
id("pg-index-health-demo.pitest")
id("org.springframework.boot") version "3.4.0"
alias(libs.plugins.spring.boot.v3)
id("com.google.osdetector") version "1.7.3"
}

dependencies {
implementation(project(":db-migrations"))
implementation(platform("org.springframework.boot:spring-boot-dependencies:3.3.5"))
implementation(platform(libs.spring.boot.v3.dependencies))
implementation(platform("org.apache.httpcomponents.client5:httpclient5-parent:5.4.1"))
implementation(platform("org.springdoc:springdoc-openapi:2.6.0"))

Expand All @@ -30,7 +30,7 @@ dependencies {
implementation("io.github.mfvanek:pg-index-health-generator")
implementation("com.github.blagerweij:liquibase-sessionlock:1.6.9")

annotationProcessor(platform("org.springframework.boot:spring-boot-dependencies:3.3.5"))
annotationProcessor(platform(libs.spring.boot.v3.dependencies))
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")

testImplementation("org.springframework.boot:spring-boot-starter-test")
Expand Down
12 changes: 12 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,15 @@ rootProject.name = "pg-index-health-demo"
include("pg-index-health-demo-without-spring")
include("pg-index-health-spring-boot-demo")
include("db-migrations")

dependencyResolutionManagement {
versionCatalogs {
create("libs") {
val springBoot3Version = version("spring-boot-v3", "3.3.6")
plugin("spring-boot-v3", "org.springframework.boot")
.versionRef(springBoot3Version)
library("spring-boot-v3-dependencies", "org.springframework.boot", "spring-boot-dependencies")
.versionRef(springBoot3Version)
}
}
}

0 comments on commit a2fac2b

Please sign in to comment.