Skip to content

Commit d4709ed

Browse files
authored
Remove Spring Boot 2 BOM and application (#351)
* Remove Spring Boot 2 BOM and application * Update README.md
1 parent 02b3d4d commit d4709ed

File tree

21 files changed

+18
-347
lines changed

21 files changed

+18
-347
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Gradle multi-module project for experiments with Java
44
[![Java CI](https://github.com/mfvanek/java-experiments/actions/workflows/gradle.yml/badge.svg)](https://github.com/mfvanek/java-experiments/actions/workflows/gradle.yml)
55

66
## Modules
7-
* [Spring Boot 2 app with custom BOM](spring-boot-2-app-example%2FREADME.md)
7+
* [mongo-db-reactive-app-example](mongo-db-reactive-app-example)
88
* [Spring Boot 3 app with PostgreSQL cluster](spring-boot-app-example%2FREADME.md)
99

1010
## Useful Java links

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.2.1"
16+
version = "0.3.0"
1717

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

4949
tasks {
5050
wrapper {
51-
gradleVersion = "8.13"
51+
gradleVersion = "8.14.3"
5252
}
5353

5454
jar {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ dependencies {
1717
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
1818
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
1919

20-
errorprone("com.google.errorprone:error_prone_core:2.38.0")
21-
errorprone("jp.skypencil.errorprone.slf4j:errorprone-slf4j:0.1.28")
20+
errorprone("com.google.errorprone:error_prone_core:2.40.0")
21+
errorprone("jp.skypencil.errorprone.slf4j:errorprone-slf4j:0.1.29")
2222
}
2323

2424
java {
@@ -28,7 +28,7 @@ java {
2828
}
2929

3030
jacoco {
31-
toolVersion = "0.8.12"
31+
toolVersion = "0.8.13"
3232
}
3333

3434
tasks {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ dependencies {
1111

1212
pitest {
1313
verbosity = "DEFAULT"
14-
junit5PluginVersion = "1.2.2"
15-
pitestVersion = "1.19.1"
14+
junit5PluginVersion = "1.2.3"
15+
pitestVersion = "1.20.0"
1616
threads = 4
1717
outputFormats = setOf("XML", "HTML")
1818
timestampedReports = false

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
spring-boot-v3 = "3.5.0"
2+
spring-boot-v3 = "3.5.3"
33

44
[libraries]
55
spring-boot-v3-dependencies = { group = "org.springframework.boot", name = "spring-boot-dependencies", version.ref = "spring-boot-v3" }

gradle/wrapper/gradle-wrapper.jar

59 Bytes
Binary file not shown.

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.13-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ case "$( uname )" in #(
114114
NONSTOP* ) nonstop=true ;;
115115
esac
116116

117-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
117+
CLASSPATH="\\\"\\\""
118118

119119

120120
# Determine the Java command to use to start the JVM.
@@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
213213
set -- \
214214
"-Dorg.gradle.appname=$APP_BASE_NAME" \
215215
-classpath "$CLASSPATH" \
216-
org.gradle.wrapper.GradleWrapperMain \
216+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
217217
"$@"
218218

219219
# Stop when "xargs" is not available.

gradlew.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ goto fail
7070
:execute
7171
@rem Setup the command line
7272

73-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73+
set CLASSPATH=
7474

7575

7676
@rem Execute Gradle
77-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
77+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
7878

7979
:end
8080
@rem End local scope for the variables with windows NT shell

internal-bom/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ javaPlatform {
1010
}
1111

1212
dependencies {
13-
api(platform("org.junit:junit-bom:5.13.3"))
13+
api(platform("org.junit:junit-bom:5.13.4"))
1414
api(platform("org.testcontainers:testcontainers-bom:1.21.3"))
15-
api(platform("io.github.mfvanek:pg-index-health-bom:0.15.0"))
15+
api(platform("io.github.mfvanek:pg-index-health-bom:0.20.2"))
1616
api(platform("org.mockito:mockito-bom:5.18.0"))
1717
api(platform("org.assertj:assertj-bom:3.27.3"))
1818

1919
constraints {
2020
api("com.google.code.findbugs:jsr305:3.0.2")
2121
api("org.postgresql:postgresql:42.7.7")
22-
api("com.zaxxer:HikariCP:6.3.0")
22+
api("com.zaxxer:HikariCP:6.3.1")
2323
api("ch.qos.logback:logback-classic:1.5.18")
2424
api("org.slf4j:slf4j-api:2.0.17")
2525
api("com.h2database:h2:2.3.232")

0 commit comments

Comments
 (0)