scalameta / sbt-native-image

Plugin to generate native-image binaries with sbt
248 stars 22 forks source link

nativeImageRunAgent should depend on nativeImageCommand #37

Closed i10416 closed 2 years ago

i10416 commented 2 years ago

Running nativeImageRunAgent before nativeImage will fail due to Could not find agent library native-image-agent on the library path error. This is because running nativeImageRunAgent fetches graal-native, but does not run gu install native-image.

Thus, It should depend on nativeImageCommand to fetch missing dependencies.

i10416 commented 2 years ago

@olafurpg Hello. Would you be kind enough to review PR when you have time?