plugins { kotlin("jvm") version "2.0.0" kotlin("plugin.allopen") version "2.0.0" id("io.quarkus") } repositories { mavenCentral() mavenLocal() } val quarkusPlatformGroupId: String by project val quarkusPlatformArtifactId: String by project val quarkusPlatformVersion: String by project dependencies { // common implementation(project(":common")) // quarkus implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")) implementation("io.quarkus:quarkus-kotlin") implementation("io.quarkus:quarkus-arc") testImplementation("io.quarkus:quarkus-junit5") implementation("io.quarkus:quarkus-rest") // libraries implementation("io.quarkus:quarkus-kafka-client") implementation("io.quarkus:quarkus-kafka-streams") implementation("com.google.code.gson:gson:2.8.9") } group = "fr.faraphel" version = "1.0-SNAPSHOT" java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } tasks.withType { systemProperty("java.util.logging.manager", "org.jboss.logmanager.LogManager") } allOpen { annotation("jakarta.ws.rs.Path") annotation("jakarta.enterprise.context.ApplicationScoped") annotation("jakarta.persistence.Entity") annotation("io.quarkus.test.junit.QuarkusTest") } tasks.withType { kotlinOptions.jvmTarget = JavaVersion.VERSION_21.toString() kotlinOptions.javaParameters = true }