You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to avoid the split brain problem for the version specification.
It would be nice if this dependency was added automatically. Being compileOnly it doesn't affect downstream consumers like the normal application plugin output or a shadow jar or the like.
Just in case this has some negative interaction, a property could be added to disable this functionality.
graal {
svmDependency false
}
(or whatever you want to call it)
The text was updated successfully, but these errors were encountered:
Be careful with ordering here, if your dependencies are listed before the grall config, you get the default version. Also I think you can drop the get(), I assume toString does the right thing.
In order to help out Graal, I very often add
compileOnly "org.graalvm.nativeimage:svm:20.1.0"
as a dependency.
Lately I've been doing
compileOnly "org.graalvm.nativeimage:svm:${graal.graalVersion.get()}"
to avoid the split brain problem for the version specification.
It would be nice if this dependency was added automatically. Being
compileOnly
it doesn't affect downstream consumers like the normal application plugin output or a shadow jar or the like.Just in case this has some negative interaction, a property could be added to disable this functionality.
graal { svmDependency false }
(or whatever you want to call it)
The text was updated successfully, but these errors were encountered: