Skip to content

Commit ee1453b

Browse files
committed
chore: fix graalvm compile deps
1 parent a9d5bd4 commit ee1453b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ okhttp-mockwebserver = { module = "com.squareup.okhttp3:mockwebs
489489
okhttp-tls = { module = "com.squareup.okhttp3:okhttp-tls" , version.ref = "okhttp"}
490490

491491
graal-sdk = { module = "org.graalvm.sdk:graal-sdk" , version.ref = "graalvm"}
492+
graal-svm = { module = "org.graalvm.nativeimage:svm" , version.ref = "graalvm"}
492493
graal-polyglot = { module = "org.graalvm.polyglot:polyglot" , version.ref = "graalvm"}
493494
graal-wasm = { module = "org.graalvm.polyglot:wasm" , version.ref = "graalvm"}
494495
google-auto-service-apt = { module = "com.google.auto.service:auto-service" , version.ref = "google-auto-service"}

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ val niArchiveName
202202

203203
dependencies {
204204
// Dependencies required for native-image build. Use "graalCompileOnly" for compile only deps.
205-
// "graalCompileOnly"(libs.graalvm.sdk)
206-
// "graalImplementation"(libs.classgraph)
205+
"graalCompileOnly"(libs.graal.sdk)
207206
nativeImageCompileOnly(graal.map { it.output })
207+
compileOnly(libs.graal.sdk)
208+
// "graalImplementation"(libs.classgraph)
208209
}

0 commit comments

Comments
 (0)