diff --git a/README.md b/README.md index 75232ad..86de5fe 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.4")); + .include(dependency("org.springframeworkboot:spring-boot-loader:3.2.5")); ``` Please check the [BootJarOperation documentation](https://rife2.github.io/bld-spring-boot/rife/bld/extension/BootJarOperation.html#method-summary) diff --git a/examples/lib/bld/bld-wrapper.properties b/examples/lib/bld/bld-wrapper.properties index d82375b..3293405 100644 --- a/examples/lib/bld/bld-wrapper.properties +++ b/examples/lib/bld/bld-wrapper.properties @@ -1,6 +1,6 @@ bld.downloadExtensionJavadoc=false bld.downloadExtensionSources=true -bld.extensions=com.uwyn.rife2:bld-spring-boot:0.9.3 +bld.extensions=com.uwyn.rife2:bld-spring-boot:0.9.4 bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES bld.downloadLocation= bld.sourceDirectories= diff --git a/examples/src/bld/java/com/example/demo/DemoApplicationBuild.java b/examples/src/bld/java/com/example/demo/DemoApplicationBuild.java index 0f81767..0dd5f9b 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.4")) - .include(dependency("org.springframework.boot:spring-boot-starter-actuator:3.2.4")) - .include(dependency("org.springframework.boot:spring-boot-starter-web:3.2.4")); + .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")); scope(test) - .include(dependency("org.springframework.boot:spring-boot-starter-test:3.2.4")) + .include(dependency("org.springframework.boot:spring-boot-starter-test:3.2.5")) .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.4")); + .include(dependency("org.springframework.boot:spring-boot-loader:3.2.5")); } public static void main(String[] args) { diff --git a/src/bld/java/rife/bld/extension/SpringBootBuild.java b/src/bld/java/rife/bld/extension/SpringBootBuild.java index f0b0621..53fa491 100644 --- a/src/bld/java/rife/bld/extension/SpringBootBuild.java +++ b/src/bld/java/rife/bld/extension/SpringBootBuild.java @@ -33,9 +33,10 @@ public class SpringBootBuild extends Project { public SpringBootBuild() { pkg = "rife.bld.extension"; name = "bld-spring-boot"; - version = version(0, 9, 3); + version = version(0, 9, 4); javaRelease = 17; + downloadSources = true; autoDownloadPurge = true; diff --git a/src/test/java/rife/bld/extension/BootJarOperationTest.java b/src/test/java/rife/bld/extension/BootJarOperationTest.java index 5c0b828..5fa1daa 100644 --- a/src/test/java/rife/bld/extension/BootJarOperationTest.java +++ b/src/test/java/rife/bld/extension/BootJarOperationTest.java @@ -128,9 +128,10 @@ class BootJarOperationTest { org/springframework/boot/loader/zip/CloseableDataBlock.class org/springframework/boot/loader/zip/DataBlock.class org/springframework/boot/loader/zip/DataBlockInputStream.class - org/springframework/boot/loader/zip/FileChannelDataBlock$ManagedFileChannel.class - org/springframework/boot/loader/zip/FileChannelDataBlock$Tracker.class - org/springframework/boot/loader/zip/FileChannelDataBlock.class + org/springframework/boot/loader/zip/FileDataBlock$FileAccess.class + org/springframework/boot/loader/zip/FileDataBlock$Tracker$1.class + org/springframework/boot/loader/zip/FileDataBlock$Tracker.class + org/springframework/boot/loader/zip/FileDataBlock.class org/springframework/boot/loader/zip/NameOffsetLookups.class org/springframework/boot/loader/zip/VirtualDataBlock.class org/springframework/boot/loader/zip/VirtualZipDataBlock$DataPart.class @@ -152,9 +153,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.4.jar"; - private static final String SPRING_BOOT_ACTUATOR = "spring-boot-actuator-3.2.4.jar"; - private static final String SPRING_BOOT_LOADER = "spring-boot-loader-3.2.4.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 StringBuilder readJarEntries(File jar) throws IOException { var jarEntries = new StringBuilder();