Commit a2bd2ee 1 parent d50011e commit a2bd2ee Copy full SHA for a2bd2ee
File tree 2 files changed +11
-12
lines changed
tools/elide-build/src/main/kotlin/elide/internal/conventions/dependencies
2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -252,13 +252,12 @@ dependencies {
252
252
implementation(libs.capnproto.runtime)
253
253
implementation(libs.capnproto.runtime.rpc)
254
254
255
- api(libs.graalvm.polyglot)
256
- api(libs.graalvm.polyglot.tools.coverage)
257
- api(libs.graalvm.polyglot.tools.dap)
258
- api(libs.graalvm.polyglot.tools.inspect)
259
- api(libs.graalvm.polyglot.tools.insight)
260
- api(libs.graalvm.polyglot.tools.heap)
261
- api(libs.graalvm.polyglot.tools.profiler)
255
+ api(" org.graalvm.polyglot:polyglot:${libs.versions.graalvm.pin.get()} " ) {
256
+ exclude(group = " org.graalvm.sdk" , module = " collections" )
257
+ exclude(group = " org.graalvm.sdk" , module = " nativeimage" )
258
+ exclude(group = " org.graalvm.sdk" , module = " word" )
259
+ }
260
+
262
261
api(libs.graalvm.regex)
263
262
api(libs.graalvm.polyglot.js)
264
263
compileOnly(libs.graalvm.svm)
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ package elide.internal.conventions.dependencies
15
15
16
16
import org.gradle.api.Project
17
17
import org.gradle.api.artifacts.dsl.LockMode
18
+ import org.gradle.kotlin.dsl.exclude
18
19
import elide.internal.conventions.Constants.Versions
19
20
import elide.internal.conventions.ElideBuildExtension
20
21
@@ -141,11 +142,10 @@ internal fun Project.configureDependencyResolution(conventions: ElideBuildExtens
141
142
142
143
if (gvmConfigurations.contains(this @all.name) && isGraalVm) {
143
144
gvmDistModules.forEach {
144
- this @all.exclude(
145
- mapOf (
146
- " group" to it.substringBefore(" :" ),
147
- " module" to it.substringAfter(" :" )
148
- ))
145
+ exclude(
146
+ group = it.substringBefore(' :' ),
147
+ module = it.substringAfter(' :' ),
148
+ )
149
149
}
150
150
}
151
151
}
You can’t perform that action at this time.
0 commit comments