Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused Keys Warning But The Versions and NativeImage JVM Defined Are Followed #21

Open
sshark opened this issue Jan 5, 2021 · 0 comments

Comments

@sshark
Copy link

sshark commented Jan 5, 2021

Warnings are seen after SBT is started

[warn] there are 2 keys that are not used by any other settings/tasks:                             
[warn] * root / nativeImageJvm
[warn]   +- /project/foo/build.sbt:31
[warn] * root / nativeImageVersion
[warn]   +- /project/foo/build.sbt:30                     

when nativeImageJvm and nativeImageVersion are defined in project settings i.e.

    .settings(
      name = "foo-bar",
      nativeImageVersion := "20.3.0",
      nativeImageJvm := "graalvm-ce-11",
      ...)

To Reproduce Steps to reproduce the behavior:

    1. Run sbt with these properties defiend

Expected behavior

No warning or how to disable these warnings

Installation:

  • Operating system: Linux / Ubuntu
  • Version: v20.04

Additional context

SBT v1.4.1 and sbt-native-image v0.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant