From b5b33548ca3c8b9b0292a3ebc6f86ee7d418312e Mon Sep 17 00:00:00 2001 From: Andreas Mautsch Date: Fri, 6 Dec 2024 11:36:36 +0100 Subject: [PATCH] spring boot upgrade --- build.gradle.kts | 4 ++-- gradle.properties | 2 +- src/main/java/org/goafabric/core/Application.java | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 54ff8f4e..46395295 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,9 +11,9 @@ val baseImage = "ibm-semeru-runtimes:open-21.0.4.1_7-jre-focal@sha256:8b94f8b14f plugins { java jacoco - id("org.springframework.boot") version "3.3.5" + id("org.springframework.boot") version "3.4.0" id("io.spring.dependency-management") version "1.1.6" - id("org.graalvm.buildtools.native") version "0.10.3" + id("org.graalvm.buildtools.native") version "0.10.4" id("com.google.cloud.tools.jib") version "3.4.4" id("net.researchgate.release") version "3.0.2" diff --git a/gradle.properties b/gradle.properties index c0360afc..f39e0d1d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ group=org.goafabric -version=3.3.5-SNAPSHOT +version=3.4.0-SNAPSHOT diff --git a/src/main/java/org/goafabric/core/Application.java b/src/main/java/org/goafabric/core/Application.java index 03640532..f439e70f 100644 --- a/src/main/java/org/goafabric/core/Application.java +++ b/src/main/java/org/goafabric/core/Application.java @@ -1,5 +1,8 @@ package org.goafabric.core; +import org.flywaydb.core.internal.publishing.PublishingConfigurationExtension; +import org.springframework.aot.hint.MemberCategory; +import org.springframework.aot.hint.annotation.RegisterReflection; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @@ -12,6 +15,7 @@ */ @SpringBootApplication +@RegisterReflection(classes = PublishingConfigurationExtension.class, memberCategories = MemberCategory.INVOKE_PUBLIC_METHODS) public class Application { public static void main(String[] args){