Skip to content

Commit 06351ed

Browse files
authored
Breaking changes in pg-index-health (#253)
* Update Gradle * Breaking changes in pg-index-health
1 parent ddd3f6b commit 06351ed

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description = "Experiments with Java"
1313

1414
allprojects {
1515
group = "io.github.mfvanek"
16-
version = "0.1.2"
16+
version = "0.2.0"
1717

1818
repositories {
1919
mavenLocal()
@@ -48,7 +48,7 @@ tasks.named<DependencyUpdatesTask>("dependencyUpdates").configure {
4848

4949
tasks {
5050
wrapper {
51-
gradleVersion = "8.10.2"
51+
gradleVersion = "8.11.1"
5252
}
5353

5454
jar {

buildSrc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repositories {
77
}
88

99
dependencies {
10-
implementation("com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.9")
10+
implementation("com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.26")
1111
implementation("net.ltgt.gradle:gradle-errorprone-plugin:3.1.0")
1212
implementation("info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.15.0")
1313
implementation("org.gradle:test-retry-gradle-plugin:1.6.0")

buildSrc/src/main/kotlin/java-experiments.java-conventions.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies {
1616

1717
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
1818

19-
errorprone("com.google.errorprone:error_prone_core:2.34.0")
19+
errorprone("com.google.errorprone:error_prone_core:2.36.0")
2020
errorprone("jp.skypencil.errorprone.slf4j:errorprone-slf4j:0.1.28")
2121
}
2222

@@ -33,6 +33,7 @@ jacoco {
3333
tasks {
3434
withType<JavaCompile>().configureEach {
3535
options.compilerArgs.add("-parameters")
36+
options.compilerArgs.add("--should-stop=ifError=FLOW")
3637
options.errorprone {
3738
disableWarningsInGeneratedCode.set(true)
3839
disable("Slf4jLoggerShouldBeNonStatic")

buildSrc/src/main/kotlin/java-experiments.pitest.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies {
1212
pitest {
1313
verbosity = "DEFAULT"
1414
junit5PluginVersion = "1.2.1"
15-
pitestVersion = "1.15.3"
15+
pitestVersion = "1.17.1"
1616
threads = 4
1717
outputFormats = setOf("XML", "HTML")
1818
timestampedReports = false

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

internal-bom/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ javaPlatform {
1212
dependencies {
1313
api(platform("org.junit:junit-bom:5.11.3"))
1414
api(platform("org.testcontainers:testcontainers-bom:1.20.4"))
15-
api(platform("io.github.mfvanek:pg-index-health-bom:0.13.2"))
15+
api(platform("io.github.mfvanek:pg-index-health-bom:0.14.0"))
1616
api(platform("org.mockito:mockito-bom:5.14.2"))
1717
api(platform("org.assertj:assertj-bom:3.26.3"))
1818

spring-boot-app-example/src/test/java/io/github/mfvanek/pg/cluster/IndexesMaintenanceTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package io.github.mfvanek.pg.cluster;
22

3-
import io.github.mfvanek.pg.common.maintenance.DatabaseCheckOnHost;
4-
import io.github.mfvanek.pg.common.maintenance.Diagnostic;
5-
import io.github.mfvanek.pg.model.DbObject;
3+
import io.github.mfvanek.pg.core.checks.common.DatabaseCheckOnHost;
4+
import io.github.mfvanek.pg.core.checks.common.Diagnostic;
5+
import io.github.mfvanek.pg.model.dbobject.DbObject;
66
import io.github.mfvanek.pg.model.table.Table;
77
import io.github.mfvanek.pg.testing.PostgreSqlClusterWrapper;
88
import org.assertj.core.api.ListAssert;

0 commit comments

Comments
 (0)