Compare commits

..

No commits in common. "master" and "v1.0.4" have entirely different histories.

6 changed files with 18 additions and 24 deletions

View file

@ -1,8 +1,6 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins { plugins {
kotlin("jvm") version "2.1.0" kotlin("jvm") version "1.9.23"
kotlin("plugin.allopen") version "1.9.23"
id("io.quarkus") id("io.quarkus")
} }
@ -17,7 +15,7 @@ val quarkusPlatformVersion: String by project
dependencies { dependencies {
implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")) implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}"))
implementation("io.quarkus:quarkus-rest-qute") implementation("io.quarkus:quarkus-resteasy-reactive-qute")
implementation("io.quarkus:quarkus-kotlin") implementation("io.quarkus:quarkus-kotlin")
implementation("org.jetbrains.kotlin:kotlin-stdlib") implementation("org.jetbrains.kotlin:kotlin-stdlib")
implementation("io.quarkus:quarkus-arc") implementation("io.quarkus:quarkus-arc")
@ -25,7 +23,7 @@ dependencies {
} }
group = "fr.spacefox" group = "fr.spacefox"
version = "1.0.7" version = "1.0.4"
java { java {
sourceCompatibility = JavaVersion.VERSION_21 sourceCompatibility = JavaVersion.VERSION_21
@ -35,12 +33,13 @@ java {
tasks.withType<Test> { tasks.withType<Test> {
systemProperty("java.util.logging.manager", "org.jboss.logmanager.LogManager") systemProperty("java.util.logging.manager", "org.jboss.logmanager.LogManager")
} }
allOpen {
tasks.withType<KotlinCompile> { annotation("javax.ws.rs.Path")
compilerOptions { annotation("javax.enterprise.context.ApplicationScoped")
apiVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0) annotation("io.quarkus.test.junit.QuarkusTest")
compilerOptions.jvmTarget.set(JvmTarget.JVM_21) }
// For Qute templates to work
compilerOptions.javaParameters = true tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
} kotlinOptions.jvmTarget = JavaVersion.VERSION_21.toString()
kotlinOptions.javaParameters = true
} }

View file

@ -1,6 +1,6 @@
#Gradle properties #Gradle properties
quarkusPluginId=io.quarkus quarkusPluginId=io.quarkus
quarkusPluginVersion=3.15.3 quarkusPluginVersion=3.8.2
quarkusPlatformGroupId=io.quarkus.platform quarkusPlatformGroupId=io.quarkus.platform
quarkusPlatformArtifactId=quarkus-bom quarkusPlatformArtifactId=quarkus-bom
quarkusPlatformVersion=3.15.3 quarkusPlatformVersion=3.8.2

Binary file not shown.

View file

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

7
gradlew vendored
View file

@ -15,8 +15,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# #
# SPDX-License-Identifier: Apache-2.0
#
############################################################################## ##############################################################################
# #
@ -57,7 +55,7 @@
# Darwin, MinGW, and NonStop. # Darwin, MinGW, and NonStop.
# #
# (3) This script is generated from the Groovy template # (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project. # within the Gradle project.
# #
# You can find Gradle at https://github.com/gradle/gradle/. # You can find Gradle at https://github.com/gradle/gradle/.
@ -86,8 +84,7 @@ done
# shellcheck disable=SC2034 # shellcheck disable=SC2034
APP_BASE_NAME=${0##*/} APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value. # Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum MAX_FD=maximum

2
gradlew.bat vendored
View file

@ -13,8 +13,6 @@
@rem See the License for the specific language governing permissions and @rem See the License for the specific language governing permissions and
@rem limitations under the License. @rem limitations under the License.
@rem @rem
@rem SPDX-License-Identifier: Apache-2.0
@rem
@if "%DEBUG%"=="" @echo off @if "%DEBUG%"=="" @echo off
@rem ########################################################################## @rem ##########################################################################