https://pantsbuild.org/ logo
#general
Title
# general
p

plain-river-51682

09/09/2020, 3:00 PM
Is there a way to override the junit-runner jar used?
w

witty-crayon-22786

09/09/2020, 5:11 PM
@plain-river-51682: yes there is: those
register_jvm_tool
lines result in an optionally defined target at the root of the repo
so in this case, if you define a target named
junit
at the root of the repo (ie
//:junit
) it will override the default.
can confirm with
./pants help-advanced junit
p

plain-river-51682

09/09/2020, 6:34 PM
Awesome, that works perfectly!
🤘 2
2 Views