diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index eb50674..b5cc297 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,6 +1,5 @@ name: Push - on: push jobs: diff --git a/.sdkmanrc b/.sdkmanrc index 8df101c..d31a953 100644 --- a/.sdkmanrc +++ b/.sdkmanrc @@ -1,3 +1,3 @@ # Enable auto-env through the sdkman_auto_env config # Add key=value pairs of SDKs to use below -java=21.0.3-graal +java=21.0.4-graal diff --git a/build.gradle.kts b/build.gradle.kts index 02bdf41..7213527 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,14 +3,14 @@ import java.lang.System.getProperty import org.gradle.api.tasks.wrapper.Wrapper.DistributionType.ALL plugins { - kotlin("jvm") version("2.0.0") + kotlin("jvm") version("2.0.10") id("org.graalvm.buildtools.native") version("0.10.2") } -val hexagonVersion = "3.6.0" +val hexagonVersion = "3.6.4" val gradleScripts = "https://raw.githubusercontent.com/hexagontk/hexagon/$hexagonVersion/gradle" -ext.set("modules", "java.base") +ext.set("modules", "java.logging,java.management") ext.set("options", "-Xmx48m") ext.set("applicationClass", "org.example.ApplicationKt") @@ -28,11 +28,11 @@ dependencies { "implementation"("com.hexagonkt:http_server_helidon:$hexagonVersion") "testImplementation"("com.hexagonkt:http_client_jetty:$hexagonVersion") - "testImplementation"("org.slf4j:slf4j-nop:2.0.13") + "testImplementation"("org.slf4j:slf4j-nop:2.0.16") } tasks.wrapper { - gradleVersion = "8.8" + gradleVersion = "8.10" distributionType = ALL } diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index e644113..2c35211 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 6f7a6eb..66cd5a0 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-all.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew index 1aa94a4..f5feea6 100755 --- a/gradlew +++ b/gradlew @@ -15,6 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################## # @@ -55,7 +57,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/. @@ -84,7 +86,8 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s +' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/gradlew.bat b/gradlew.bat index 25da30d..9d21a21 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -13,6 +13,8 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem @if "%DEBUG%"=="" @echo off @rem ########################################################################## diff --git a/src/main/resources/META-INF/native-image/org.example/gradle_starter/native-image.properties b/src/main/resources/META-INF/native-image/org.example/gradle_starter/native-image.properties index 54eeff6..0872679 100644 --- a/src/main/resources/META-INF/native-image/org.example/gradle_starter/native-image.properties +++ b/src/main/resources/META-INF/native-image/org.example/gradle_starter/native-image.properties @@ -1,4 +1,4 @@ # Community #Args=-R:MaxHeapSize=16 -march=native # Oracle -Args=--gc=G1 --enable-sbom +Args=-march=native --gc=G1 --enable-sbom