diff --git a/EpcQrCodeRest/build.gradle b/EpcQrCodeRest/build.gradle index 5c3c9be..3b36cfc 100644 --- a/EpcQrCodeRest/build.gradle +++ b/EpcQrCodeRest/build.gradle @@ -1,7 +1,7 @@ plugins { id 'org.jetbrains.kotlin.jvm' - id "org.jetbrains.kotlin.plugin.allopen" version "1.6.10" - id 'io.quarkus' + id "org.jetbrains.kotlin.plugin.allopen" version "$kotlinVersion" + id 'io.quarkus' version "$quarkusVersion" } group 'net.dankito.banking.epcqrcode' @@ -35,9 +35,6 @@ dependencies { 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") @@ -47,14 +44,6 @@ dependencies { } -quarkus { - setOutputDirectory("$projectDir/build/classes/kotlin/main") -} - -quarkusDev { - setSourceDir("$projectDir/src/main/kotlin") -} - allOpen { annotation("javax.ws.rs.Path") annotation("javax.enterprise.context.ApplicationScoped") diff --git a/gradle.properties b/gradle.properties index 723a072..09d447d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ kotlinVersion=1.6.10 coroutinesVersion=1.6.0 -quarkusVersion=1.9.2.Final +quarkusVersion=2.16.6.Final android.useAndroidX=true diff --git a/settings.gradle.kts b/settings.gradle.kts index 9ee5222..5b0f683 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -12,10 +12,6 @@ pluginManagement { } } } - - plugins { - id("io.quarkus") version "1.9.2.Final" // TODO: why doesn't he find quarkusVersion? - } }