2020-11-13 02:03:12 +00:00
|
|
|
plugins {
|
|
|
|
id 'org.jetbrains.kotlin.jvm'
|
2023-04-10 16:45:17 +00:00
|
|
|
id "org.jetbrains.kotlin.plugin.allopen" version "$kotlinVersion"
|
|
|
|
id 'io.quarkus' version "$quarkusVersion"
|
2020-11-13 02:03:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group 'net.dankito.banking.epcqrcode'
|
|
|
|
version '1.0.0-SNAPSHOT'
|
|
|
|
|
|
|
|
|
2022-03-13 22:45:48 +00:00
|
|
|
def javaVersion = JavaVersion.VERSION_11
|
|
|
|
|
2020-11-13 02:03:12 +00:00
|
|
|
java {
|
2022-03-13 22:45:48 +00:00
|
|
|
sourceCompatibility = javaVersion
|
|
|
|
targetCompatibility = javaVersion
|
2020-11-13 02:03:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
compileKotlin {
|
2022-03-13 22:45:48 +00:00
|
|
|
kotlinOptions.jvmTarget = javaVersion
|
2020-11-13 02:03:12 +00:00
|
|
|
kotlinOptions.javaParameters = true
|
|
|
|
}
|
|
|
|
|
|
|
|
compileTestKotlin {
|
2022-03-13 22:45:48 +00:00
|
|
|
kotlinOptions.jvmTarget = javaVersion
|
2020-11-13 02:03:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation enforcedPlatform("io.quarkus:quarkus-universe-bom:$quarkusVersion")
|
|
|
|
implementation 'io.quarkus:quarkus-kotlin'
|
|
|
|
implementation 'io.quarkus:quarkus-resteasy'
|
|
|
|
implementation 'io.quarkus:quarkus-resteasy-jackson'
|
2023-04-10 18:06:05 +00:00
|
|
|
implementation 'io.quarkus:quarkus-smallrye-openapi'
|
2023-04-10 18:07:00 +00:00
|
|
|
implementation 'io.quarkus:quarkus-smallrye-health'
|
2020-11-13 02:03:12 +00:00
|
|
|
|
2020-11-16 19:36:14 +00:00
|
|
|
api project(":EpcQrCode")
|
2020-11-13 02:03:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
testImplementation 'io.quarkus:quarkus-junit5'
|
|
|
|
testImplementation 'io.rest-assured:rest-assured'
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
allOpen {
|
2024-10-01 16:29:28 +00:00
|
|
|
annotation("jakarta.ws.rs.Path")
|
|
|
|
annotation("jakarta.enterprise.context.ApplicationScoped")
|
2020-11-13 02:03:12 +00:00
|
|
|
annotation("io.quarkus.test.junit.QuarkusTest")
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|