Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Added logger for spotbugs tasks (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfvanek authored Oct 15, 2023
1 parent dc3a6ae commit 797ae9f
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 17 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 4 additions & 2 deletions console-demo-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
6 changes: 4 additions & 2 deletions h2-demo-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
8 changes: 4 additions & 4 deletions pg-index-health-test-starter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions postgres-demo-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
13 changes: 7 additions & 6 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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
}
}
}
Expand Down

0 comments on commit 797ae9f

Please sign in to comment.