plugins { kotlin("jvm") version "1.9.23" kotlin("plugin.allopen") version "1.9.23" id("io.quarkus") } repositories { mavenCentral() mavenLocal() } val quarkusPlatformGroupId: String by project val quarkusPlatformArtifactId: String by project val quarkusPlatformVersion: String by project dependencies { implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")) implementation("io.quarkus:quarkus-resteasy-reactive-qute") implementation("io.quarkus:quarkus-kotlin") implementation("org.jetbrains.kotlin:kotlin-stdlib") implementation("io.quarkus:quarkus-arc") testImplementation("io.quarkus:quarkus-junit5") } group = "fr.spacefox" version = "1.0.4" java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } tasks.withType { systemProperty("java.util.logging.manager", "org.jboss.logmanager.LogManager") } allOpen { annotation("javax.ws.rs.Path") annotation("javax.enterprise.context.ApplicationScoped") annotation("io.quarkus.test.junit.QuarkusTest") } tasks.withType { kotlinOptions.jvmTarget = JavaVersion.VERSION_21.toString() kotlinOptions.javaParameters = true }