diff --git a/README.md b/README.md index 0fd91a1..487b80a 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Don't forget to include the _Spring Boot Loader_ dependency to your project: ```java scope(standalone) - .include(dependency("org.springframeworkboot:spring-boot-loader:3.2.5")); + .include(dependency("org.springframeworkboot:spring-boot-loader:3.3.0")); ``` 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 0dd5f9b..087e691 100644 --- a/examples/src/bld/java/com/example/demo/DemoApplicationBuild.java +++ b/examples/src/bld/java/com/example/demo/DemoApplicationBuild.java @@ -27,15 +27,15 @@ public class DemoApplicationBuild extends WebProject { repositories = List.of(MAVEN_CENTRAL); scope(compile) - .include(dependency("org.springframework.boot:spring-boot-starter:3.2.5")) - .include(dependency("org.springframework.boot:spring-boot-starter-actuator:3.2.5")) - .include(dependency("org.springframework.boot:spring-boot-starter-web:3.2.5")); + .include(dependency("org.springframework.boot:spring-boot-starter:3.3.0")) + .include(dependency("org.springframework.boot:spring-boot-starter-actuator:3.3.0")) + .include(dependency("org.springframework.boot:spring-boot-starter-web:3.3.0")); scope(test) - .include(dependency("org.springframework.boot:spring-boot-starter-test:3.2.5")) + .include(dependency("org.springframework.boot:spring-boot-starter-test:3.3.0")) .include(dependency("org.junit.jupiter:junit-jupiter:5.10.2")) .include(dependency("org.junit.platform:junit-platform-console-standalone:1.10.2")); scope(standalone) - .include(dependency("org.springframework.boot:spring-boot-loader:3.2.5")); + .include(dependency("org.springframework.boot:spring-boot-loader:3.3.0")); } public static void main(String[] args) { diff --git a/src/test/java/rife/bld/extension/BootJarOperationTest.java b/src/test/java/rife/bld/extension/BootJarOperationTest.java index 91aaa83..77c215a 100644 --- a/src/test/java/rife/bld/extension/BootJarOperationTest.java +++ b/src/test/java/rife/bld/extension/BootJarOperationTest.java @@ -35,6 +35,7 @@ import static org.assertj.core.api.Assertions.assertThatCode; class BootJarOperationTest { private static final String BLD = "bld-1.9.1.jar"; + private static final String BOOT_VERSION = "3.3.0"; 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/"; @@ -120,6 +121,7 @@ class BootJarOperationTest { org/springframework/boot/loader/nio/file/NestedFileSystem.class org/springframework/boot/loader/nio/file/NestedFileSystemProvider.class org/springframework/boot/loader/nio/file/NestedPath.class + org/springframework/boot/loader/nio/file/UriPathEncoder.class org/springframework/boot/loader/ref/ org/springframework/boot/loader/ref/Cleaner.class org/springframework/boot/loader/ref/DefaultCleaner.class @@ -153,9 +155,9 @@ class BootJarOperationTest { """; private static final String MAIN_CLASS = "com.example.Foo"; private static final String PROVIDED_LIB = "LatencyUtils-2.0.3.jar"; - private static final String SPRING_BOOT = "spring-boot-3.2.5.jar"; - private static final String SPRING_BOOT_ACTUATOR = "spring-boot-actuator-3.2.5.jar"; - private static final String SPRING_BOOT_LOADER = "spring-boot-loader-3.2.5.jar"; + private static final String SPRING_BOOT = "spring-boot-" + BOOT_VERSION + ".jar"; + private static final String SPRING_BOOT_ACTUATOR = "spring-boot-actuator-" + BOOT_VERSION + ".jar"; + private static final String SPRING_BOOT_LOADER = "spring-boot-loader-" + BOOT_VERSION + ".jar"; private StringBuilder readJarEntries(File jar) throws IOException { var jarEntries = new StringBuilder();