52 lines
No EOL
1.4 KiB
Text
52 lines
No EOL
1.4 KiB
Text
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")
|
|
|
|
// libraries
|
|
implementation("io.quarkus:quarkus-kafka-client")
|
|
implementation("io.quarkus:quarkus-kafka-streams")
|
|
}
|
|
|
|
group = "fr.faraphel"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
targetCompatibility = JavaVersion.VERSION_21
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
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<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
kotlinOptions.jvmTarget = JavaVersion.VERSION_21.toString()
|
|
kotlinOptions.javaParameters = true
|
|
} |