EpcQrCode/EpcQrCodeRest/build.gradle

67 lines
1.3 KiB
Groovy
Raw Normal View History

plugins {
id 'org.jetbrains.kotlin.jvm'
2022-03-13 22:45:48 +00:00
id "org.jetbrains.kotlin.plugin.allopen" version "1.6.10"
id 'io.quarkus'
}
group 'net.dankito.banking.epcqrcode'
version '1.0.0-SNAPSHOT'
2022-03-13 22:45:48 +00:00
def javaVersion = JavaVersion.VERSION_11
java {
2022-03-13 22:45:48 +00:00
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
compileKotlin {
2022-03-13 22:45:48 +00:00
kotlinOptions.jvmTarget = javaVersion
kotlinOptions.javaParameters = true
}
compileTestKotlin {
2022-03-13 22:45:48 +00:00
kotlinOptions.jvmTarget = javaVersion
}
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'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation 'io.quarkus:quarkus-arc'
api project(":EpcQrCode")
testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}
quarkus {
setOutputDirectory("$projectDir/build/classes/kotlin/main")
}
quarkusDev {
setSourceDir("$projectDir/src/main/kotlin")
}
allOpen {
annotation("javax.ws.rs.Path")
annotation("javax.enterprise.context.ApplicationScoped")
annotation("io.quarkus.test.junit.QuarkusTest")
}
test {
useJUnitPlatform()
}