2024-11-20 00:13:08 +00:00
|
|
|
plugins {
|
|
|
|
kotlin("jvm")
|
|
|
|
kotlin("plugin.allopen")
|
|
|
|
|
|
|
|
id("io.quarkus")
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
jvmToolchain(17)
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
val quarkusVersion: String by project
|
|
|
|
|
2024-11-20 00:24:59 +00:00
|
|
|
val klfVersion: String by project
|
|
|
|
val lokiLogAppenderVersion: String by project
|
|
|
|
|
2024-11-20 00:13:08 +00:00
|
|
|
dependencies {
|
|
|
|
implementation(enforcedPlatform("io.quarkus.platform:quarkus-bom:$quarkusVersion"))
|
|
|
|
implementation("io.quarkus:quarkus-kotlin")
|
|
|
|
|
|
|
|
implementation("io.quarkus:quarkus-rest")
|
|
|
|
implementation("io.quarkus:quarkus-rest-jackson")
|
|
|
|
|
|
|
|
implementation("io.quarkus:quarkus-smallrye-health")
|
|
|
|
implementation("io.quarkus:quarkus-smallrye-openapi")
|
|
|
|
implementation("io.quarkus:quarkus-micrometer")
|
|
|
|
implementation("io.quarkus:quarkus-micrometer-registry-prometheus")
|
|
|
|
|
2024-11-21 22:22:05 +00:00
|
|
|
implementation(project(":e-invoice-domain"))
|
2024-11-20 00:24:59 +00:00
|
|
|
|
|
|
|
implementation("net.codinux.log:klf:$klfVersion")
|
|
|
|
implementation("net.codinux.log:quarkus-loki-log-appender:$lokiLogAppenderVersion")
|
|
|
|
implementation("net.codinux.log.kubernetes:codinux-kubernetes-info-retriever:$lokiLogAppenderVersion")
|
|
|
|
|
2024-11-20 00:13:08 +00:00
|
|
|
|
|
|
|
testImplementation("io.quarkus:quarkus-junit5")
|
|
|
|
testImplementation("io.rest-assured:rest-assured")
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
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")
|
|
|
|
}
|