diff --git a/build.gradle.kts b/build.gradle.kts index acfecfb..298ddbd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,7 +20,7 @@ description = "pg-index-health-test-starter build" allprojects { group = "io.github.mfvanek" - version = "0.9.6-SNAPSHOT" + version = "0.10.0" repositories { mavenLocal() diff --git a/console-demo-app/build.gradle.kts b/console-demo-app/build.gradle.kts index 4ff2e44..d6e2b5e 100644 --- a/console-demo-app/build.gradle.kts +++ b/console-demo-app/build.gradle.kts @@ -6,8 +6,10 @@ plugins { dependencies { implementation(project(":pg-index-health-test-starter")) - implementation(rootProject.libs.spring.boot.starter) + implementation(rootProject.libs.spring.boot.starter.root) - testImplementation(rootProject.libs.spring.boot.starterTest) + testImplementation(rootProject.libs.spring.boot.starter.test) testImplementation(rootProject.libs.assertj.core) + + spotbugsSlf4j(rootProject.libs.slf4j.simple) } diff --git a/h2-demo-app/build.gradle.kts b/h2-demo-app/build.gradle.kts index 2226f09..8480c1e 100644 --- a/h2-demo-app/build.gradle.kts +++ b/h2-demo-app/build.gradle.kts @@ -6,10 +6,12 @@ plugins { dependencies { implementation(project(":pg-index-health-test-starter")) - implementation(rootProject.libs.spring.boot.starterDataJdbc) + implementation(rootProject.libs.spring.boot.starter.data.jdbc) runtimeOnly(rootProject.libs.database.h2) - testImplementation(rootProject.libs.spring.boot.starterTest) + testImplementation(rootProject.libs.spring.boot.starter.test) testImplementation(rootProject.libs.assertj.core) + + spotbugsSlf4j(rootProject.libs.slf4j.simple) } diff --git a/pg-index-health-test-starter/build.gradle.kts b/pg-index-health-test-starter/build.gradle.kts index 9bcbbc4..e3bd6c9 100644 --- a/pg-index-health-test-starter/build.gradle.kts +++ b/pg-index-health-test-starter/build.gradle.kts @@ -11,12 +11,12 @@ plugins { dependencies { api(rootProject.libs.pg.index.health.core) - implementation(libs.spring.boot.starter) + implementation(libs.spring.boot.starter.root) implementation("com.google.code.findbugs:jsr305:3.0.2") - annotationProcessor(libs.spring.boot.autoconfigureProcessor) - annotationProcessor(libs.spring.boot.configurationProcessor) + annotationProcessor(libs.spring.boot.autoconfigure.processor) + annotationProcessor(libs.spring.boot.configuration.processor) - testImplementation(libs.spring.boot.starterTest) + testImplementation(libs.spring.boot.starter.test) testImplementation("org.junit.jupiter:junit-jupiter-api") testImplementation("org.apache.commons:commons-text:1.10.0") testImplementation(rootProject.libs.assertj.core) diff --git a/postgres-demo-app/build.gradle.kts b/postgres-demo-app/build.gradle.kts index efcbf2f..b2a9aff 100644 --- a/postgres-demo-app/build.gradle.kts +++ b/postgres-demo-app/build.gradle.kts @@ -8,13 +8,15 @@ plugins { dependencies { implementation(project(":pg-index-health-test-starter")) implementation("com.google.code.findbugs:jsr305:3.0.2") - implementation(rootProject.libs.spring.boot.starterDataJdbc) + implementation(rootProject.libs.spring.boot.starter.data.jdbc) implementation(rootProject.libs.pg.index.health.testing) implementation(platform("org.testcontainers:testcontainers-bom:1.19.1")) implementation("org.testcontainers:postgresql") runtimeOnly(rootProject.libs.database.postgresql) - testImplementation(rootProject.libs.spring.boot.starterTest) + testImplementation(rootProject.libs.spring.boot.starter.test) testImplementation(rootProject.libs.assertj.core) + + spotbugsSlf4j(rootProject.libs.slf4j.simple) } diff --git a/settings.gradle.kts b/settings.gradle.kts index 15b9fdd..7ea7d95 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -9,15 +9,15 @@ dependencyResolutionManagement { val dependencyManagement = version("spring-dependency-management", "1.1.3") plugin("spring-dependency-management", "io.spring.dependency-management") .versionRef(dependencyManagement) - library("spring-boot-starter", "org.springframework.boot", "spring-boot-starter") + library("spring-boot-starter-root", "org.springframework.boot", "spring-boot-starter") .versionRef(springBoot) - library("spring-boot-starterTest", "org.springframework.boot", "spring-boot-starter-test") + library("spring-boot-starter-test", "org.springframework.boot", "spring-boot-starter-test") .versionRef(springBoot) - library("spring-boot-autoconfigureProcessor", "org.springframework.boot", "spring-boot-autoconfigure-processor") + library("spring-boot-autoconfigure-processor", "org.springframework.boot", "spring-boot-autoconfigure-processor") .versionRef(springBoot) - library("spring-boot-configurationProcessor", "org.springframework.boot", "spring-boot-configuration-processor") + library("spring-boot-configuration-processor", "org.springframework.boot", "spring-boot-configuration-processor") .versionRef(springBoot) - library("spring-boot-starterDataJdbc", "org.springframework.boot", "spring-boot-starter-data-jdbc") + library("spring-boot-starter-data-jdbc", "org.springframework.boot", "spring-boot-starter-data-jdbc") .versionRef(springBoot) version("checkstyle", "10.12.0") version("pmd", "6.55.0") @@ -28,11 +28,12 @@ dependencyResolutionManagement { library("database-h2", "com.h2database:h2:2.2.224") library("database-postgresql", "org.postgresql:postgresql:42.6.0") library("assertj-core", "org.assertj:assertj-core:3.24.2") - val pgIndexHealth = version("pg-index-health", "0.9.5") + val pgIndexHealth = version("pg-index-health", "0.10.0") library("pg-index-health-core", "io.github.mfvanek", "pg-index-health") .versionRef(pgIndexHealth) library("pg-index-health-testing", "io.github.mfvanek", "pg-index-health-testing") .versionRef(pgIndexHealth) + library("slf4j-simple", "org.slf4j:slf4j-simple:1.7.36") // to be compatible with Spring Boot 2.7.X } } }