From c47dc6816c035d6479f56f677dc422a4cf9ed58a Mon Sep 17 00:00:00 2001 From: Antonio Perez Dieppa Date: Mon, 29 Dec 2025 14:43:04 +0000 Subject: [PATCH] apply flamingock plugin --- inventory-orders-service/build.gradle.kts | 26 +++++++------------- inventory-orders-service/settings.gradle.kts | 9 ++++++- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/inventory-orders-service/build.gradle.kts b/inventory-orders-service/build.gradle.kts index 52be553..4096c3c 100644 --- a/inventory-orders-service/build.gradle.kts +++ b/inventory-orders-service/build.gradle.kts @@ -1,12 +1,16 @@ -import java.net.URL -import javax.xml.parsers.DocumentBuilderFactory - plugins { java application idea id("org.springframework.boot") version "3.2.0" id("io.spring.dependency-management") version "1.1.4" + id("io.flamingock") version "1.0.0-beta.7" +} + +flamingock { + community() + springboot() +// graalvm() // See: https://docs.flamingock.io/frameworks/graalvm } java { @@ -17,6 +21,7 @@ java { } } + repositories { mavenLocal() mavenCentral() @@ -28,7 +33,7 @@ repositories { group = "io.flamingock" version = "1.0-SNAPSHOT" -val flamingockVersion = "1.0.0-beta.7" +val flamingockVersion = "1.0.0-beta.8" logger.lifecycle("Building with flamingock version: $flamingockVersion") val mongodbVersion = "5.5.1" @@ -38,18 +43,6 @@ val confluentVersion = "7.5.0" val snakeyamlVersion = "2.2" dependencies { -// Flamingock Dependencies - implementation(platform("io.flamingock:flamingock-community-bom:$flamingockVersion")) - implementation("io.flamingock:flamingock-community") - implementation("io.flamingock:flamingock-springboot-integration") - - - // Optional: enable GraalVM native image support for Flamingock - // See: https://docs.flamingock.io/frameworks/graalvm - // Uncomment - // implementation("io.flamingock:flamingock-graalvm:$flamingockVersion") - annotationProcessor("io.flamingock:flamingock-processor:$flamingockVersion") - // MongoDB dependencies implementation("org.mongodb:mongodb-driver-sync:$mongodbVersion") implementation("org.mongodb:mongodb-driver-core:$mongodbVersion") @@ -74,7 +67,6 @@ dependencies { // implementation("org.slf4j:slf4j-simple:2.0.6") // Commented out - Spring Boot provides logging testImplementation("org.springframework.boot:spring-boot-starter-test") - testImplementation("io.flamingock:flamingock-springboot-test-support") testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.2") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.2") diff --git a/inventory-orders-service/settings.gradle.kts b/inventory-orders-service/settings.gradle.kts index 64b4b42..583ba5f 100644 --- a/inventory-orders-service/settings.gradle.kts +++ b/inventory-orders-service/settings.gradle.kts @@ -1 +1,8 @@ -rootProject.name = "inventory-orders-service" \ No newline at end of file +rootProject.name = "inventory-orders-service" + +pluginManagement { + repositories { + gradlePluginPortal() + } +} +