From e6f3fdc984d0b2a54f54c7a0583cc4c5b2e9f4df Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Thu, 22 May 2025 08:51:43 -0700 Subject: [PATCH] Bump Spring Boot to version 3.4.6 --- README.md | 2 +- .../src/bld/java/com/example/demo/DemoApplicationBuild.java | 2 +- src/test/java/rife/bld/extension/BootOperationTest.java | 2 +- src/test/java/rife/bld/extension/BootUtilsTest.java | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bc1a229..9a5ba91 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ Don't forget to include the _Spring Boot Loader_ dependency to your project: ```java scope(standalone) - .include(dependency("org.springframework.boot:spring-boot-loader:3.4.4")); + .include(dependency("org.springframework.boot:spring-boot-loader:3.4.6")); ``` Please check the [BootJarOperation documentation](https://rife2.github.io/bld-spring-boot/rife/bld/extension/BootJarOperation.html#method-summary) diff --git a/examples/src/bld/java/com/example/demo/DemoApplicationBuild.java b/examples/src/bld/java/com/example/demo/DemoApplicationBuild.java index ddfb33f..db0d8c1 100644 --- a/examples/src/bld/java/com/example/demo/DemoApplicationBuild.java +++ b/examples/src/bld/java/com/example/demo/DemoApplicationBuild.java @@ -26,7 +26,7 @@ public class DemoApplicationBuild extends WebProject { repositories = List.of(MAVEN_CENTRAL); - var boot = version(3, 4, 5); + var boot = version(3, 4, 6); scope(compile) .include(dependency("org.springframework.boot", "spring-boot-starter", boot)) .include(dependency("org.springframework.boot", "spring-boot-starter-actuator", boot)) diff --git a/src/test/java/rife/bld/extension/BootOperationTest.java b/src/test/java/rife/bld/extension/BootOperationTest.java index c27d603..b4e73a3 100644 --- a/src/test/java/rife/bld/extension/BootOperationTest.java +++ b/src/test/java/rife/bld/extension/BootOperationTest.java @@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThatCode; @SuppressWarnings("PMD.AvoidDuplicateLiterals") class BootOperationTest { private static final String BLD = "bld-2.2.1.jar"; - private static final String BOOT_VERSION = "3.4.5"; + private static final String BOOT_VERSION = "3.4.6"; private static final String EXAMPLES_LIB_COMPILE = "examples/lib/compile/"; private static final String EXAMPLES_LIB_RUNTIME = "examples/lib/runtime/"; private static final String EXAMPLES_LIB_STANDALONE = "examples/lib/standalone/"; diff --git a/src/test/java/rife/bld/extension/BootUtilsTest.java b/src/test/java/rife/bld/extension/BootUtilsTest.java index f93efcc..bbd8620 100644 --- a/src/test/java/rife/bld/extension/BootUtilsTest.java +++ b/src/test/java/rife/bld/extension/BootUtilsTest.java @@ -19,6 +19,8 @@ package rife.bld.extension; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledOnOs; +import org.junit.jupiter.api.condition.OS; import rife.bld.blueprints.BaseProjectBlueprint; import rife.tools.FileUtils; @@ -121,6 +123,7 @@ class BootUtilsTest { } @Test + @DisabledOnOs(OS.WINDOWS) void mkDirsThrowsIOException() { var tmpFile = new File("/foo/bar.txt"); tmpFile.deleteOnExit();