🐛 fix: do not include agent if scope is only Test by gaeljw · Pull Request #37 · sbt/sbt-javaagent
Aims to fix #36
I've added 2 test projects:
- one with only
Testscope => the java agent should not be added in distributions - one with
Testscope but also another scope => the java agent is added in distributions
The 2nd case is so that this fix is not a breaking change: users are used to not have to explicitly set the "dist" scope and get the java agent added by default. This behaviour is also covered implicitly by other existing test projects but I preferred adding one explicitly for that.