You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by kb...@apache.org on 2026/03/28 06:56:48 UTC

(incubator-kie-kogito-apps) branch 10.2.x updated: Gradle: Dev mode doesn't work with Spring Boot Gradle-based project (#2306) (#2311)

This is an automated email from the ASF dual-hosted git repository.

kbowers pushed a commit to branch 10.2.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-apps.git


The following commit(s) were added to refs/heads/10.2.x by this push:
     new ca90544e9 Gradle: Dev mode doesn't work with Spring Boot Gradle-based project (#2306) (#2311)
ca90544e9 is described below

commit ca90544e9898d3fcd3bea59393352402b4ea3b41
Author: Yeser Amer <ye...@ibm.com>
AuthorDate: Sat Mar 28 07:56:43 2026 +0100

    Gradle: Dev mode doesn't work with Spring Boot Gradle-based project (#2306) (#2311)
    
    (cherry picked from commit 3842af9c89e0b664d9522eb2ce90ce1c195b12e5)
---
 .../kogito/app/jobs/springboot/SpringbootJobServiceConfiguration.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/jobs/kogito-addons-springboot-embedded-jobs/src/main/java/org/kie/kogito/app/jobs/springboot/SpringbootJobServiceConfiguration.java b/jobs/kogito-addons-springboot-embedded-jobs/src/main/java/org/kie/kogito/app/jobs/springboot/SpringbootJobServiceConfiguration.java
index 871e19161..054e58cec 100644
--- a/jobs/kogito-addons-springboot-embedded-jobs/src/main/java/org/kie/kogito/app/jobs/springboot/SpringbootJobServiceConfiguration.java
+++ b/jobs/kogito-addons-springboot-embedded-jobs/src/main/java/org/kie/kogito/app/jobs/springboot/SpringbootJobServiceConfiguration.java
@@ -38,6 +38,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.ComponentScan;
+import org.springframework.context.annotation.Lazy;
 
 @SpringBootConfiguration
 @EnableAutoConfiguration
@@ -48,6 +49,7 @@ public class SpringbootJobServiceConfiguration {
     Processes processes;
 
     @Autowired
+    @Lazy
     UnitOfWorkManager unitOfWorkManager;
 
     @Autowired(required = false)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org