Skip to content

Commit

Permalink
Update native image metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Jan 20, 2024
1 parent 2bf4c6a commit b5bbc88
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ hs_err_pid*
# Other Tools
kotlin-js-store/
node_modules/
package-lock.json
.kotlin/
.env
.sdkmanrc

# System Files
.DS_Store
Expand Down
3 changes: 3 additions & 0 deletions .sdkmanrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=21.0.1-graal
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import java.lang.System.getProperty
import org.gradle.api.tasks.wrapper.Wrapper.DistributionType.ALL

plugins {
kotlin("jvm") version("2.0.0-Beta1")
kotlin("jvm") version("1.9.22")
id("org.graalvm.buildtools.native") version("0.9.28")
}

val hexagonVersion = "3.4.3"
val hexagonVersion = "3.4.6"
val gradleScripts = "https://raw.githubusercontent.com/hexagonkt/hexagon/$hexagonVersion/gradle"

ext.set("options", "-Xmx48m")
Expand All @@ -31,7 +31,7 @@ dependencies {
}

tasks.wrapper {
gradleVersion = "8.5-rc-3"
gradleVersion = "8.5"
distributionType = ALL
}

Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-rc-3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
# Community
#Args=-R:MaxHeapSize=16 -march=native
# Oracle
Args= \
-march=native \
--gc=G1 \
--enable-sbom \
--strict-image-heap \
--initialize-at-build-time=kotlin.SynchronizedLazyImpl \
--initialize-at-build-time=kotlin.UNINITIALIZED_VALUE \
--initialize-at-build-time=com.hexagonkt.core.ClasspathHandler$classLoader$2
Args=-march=native --gc=G1 --enable-sbom

0 comments on commit b5bbc88

Please sign in to comment.