Skip to content

Commit 52c08d4

Browse files
committed
chore: graalvm plugin fixes
1 parent d9d42c8 commit 52c08d4

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

gradle/gradle-daemon-jvm.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
# toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/86ea5d26c5757681ffe78d87258b45ec/redirect
1111
# toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/ea8232621e1368089cec8b12816df5e3/redirect
1212
# toolchainVendor=ADOPTIUM
13-
toolchainVersion=21
13+
# toolchainVersion=21

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jte = "3.2.1"
9191
sshj = "0.40.0"
9292
jsch = "2.27.0"
9393
pty4j = "0.13.5"
94-
oshi = "6.8.1"
94+
oshi = "6.8.2"
9595
junit = "5.13.0"
9696
koin = "4.1.0-RC1"
9797
koin-annotations = "2.0.1-RC1"
@@ -150,7 +150,7 @@ micrometer = "1.15.0"
150150
swagger-ui = "5.17.14"
151151
hoplite = "2.9.0"
152152
config4k = "0.7.0"
153-
shedlock = "6.7.0"
153+
shedlock = "6.8.0"
154154
sherlock = "1.0.3"
155155
sqids = "0.1.0"
156156
tsid = "2.1.4"

plugins/project/src/main/kotlin/common/ProjectExtns.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ val Project.runJvmArgs
361361
fun JavaToolchainSpec.configureJvmToolchain(project: Project) =
362362
with(project) {
363363
languageVersion = toolchainVersion
364-
nativeImageCapable = toolchainVendor.map { it.matches("graalvm community") }
364+
// nativeImageCapable = toolchainVendor.map { it.matches("graalvm community") }
365365
// vendor = toolchainVendor
366366
}
367367

plugins/project/src/main/kotlin/dev.suresh.plugin.graalvm.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ graalvmNative {
2727
quickBuild = quickBuildEnabled
2828
richOutput = true
2929
buildArgs = buildList {
30+
add("--native-image-info")
3031
add("--enable-preview")
3132
add("--enable-native-access=ALL-UNNAMED")
32-
add("--native-image-info")
3333
add("--enable-https")
3434
add("--install-exit-handlers")
35+
add("--future-defaults=all")
3536
add("-R:MaxHeapSize=64m")
3637
add("-H:+UnlockExperimentalVMOptions")
37-
add("-H:+CompactingOldGen")
38+
add("-H:+VectorAPISupport")
3839
add("-H:+ReportExceptionStackTraces")
3940
add("-O3")
4041
// add("-Os")
@@ -46,6 +47,7 @@ graalvmNative {
4647
// add("-H:IncludeResources=.*(message\\.txt|\\app.properties)\$")
4748
// add("--features=graal.aot.RuntimeFeature")
4849
// add("--enable-url-protocols=http,https,jar,unix")
50+
// add("--enable-all-security-services")
4951
// add("--initialize-at-build-time=kotlinx,kotlin,org.slf4j")
5052
// add("-EBUILD_NUMBER=${project.version}")
5153
// add("-ECOMMIT_HASH=${semverExtn.commits.get().first().hash}")

0 commit comments

Comments
 (0)