-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
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:
- Allow
%%to be used, which fixes the issue. - 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.
Metadata
Metadata
Assignees
Labels
No labels