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

Document dependency syntax #15

Open
non opened this issue Jun 14, 2018 · 0 comments
Open

Document dependency syntax #15

non opened this issue Jun 14, 2018 · 0 comments

Comments

@non
Copy link

non commented Jun 14, 2018

It's not clear from the README, but when using a Scala dependency, the author must be sure to append the Scala version explicitly, e.g.

javaAgents += "com.example" % "somelibrary_2.12" % "1.2.3" % "compile;runtime"

Using the %% syntax instead of _2.12 will appear to work, but the java agent will not be resolved, and the -javaagent parameter won't be provided.

I can think of a few remediations:

  1. Allow %% to be used, which fixes the issue.
  2. Document that %% is not supported and update the README.

Either way, I think the plugin should print a warning or error when agents are not resolved: silent failure is frustrating and harder to debug.

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