Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tool classpath for ./pants scalafix (#6926)
### Problem Same as in pr #6922 In order to run custom scalafix rules that are distributed in .jar form, they must be added to scalafix's '--tool-classpath' command line argument. Currently there is no way to set this argument from pants. ### Solution Add scalafix-tool-classpath via register_jvm_tool to ./pants scalafix, with default empty classpath so you don't need to add a target if you don't want. ### Result scalafix_tool_classpath can be set in pants.ini or on the command line, and scalafix will be able to load your precompiled custom rules.
- Loading branch information