-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
Description
scalafix/scalafix-interfaces/src/main/java/scalafix/interfaces/ScalafixArguments.java
Lines 39 to 50 in aadace9
| /** | |
| * @param customURLs Extra URLs for classloading and compiling external rules. | |
| * @param customDependenciesCoordinates Extra dependencies for classloading and compiling external rules. | |
| * For example "com.nequissimus::sort-imports:0.5.2". | |
| * Artifacts will be resolved against the Scala version in the classloader | |
| * of the parent {@link Scalafix} instance and fetched using Coursier. | |
| * @throws ScalafixException in case of errors during artifact resolution/fetching. | |
| */ | |
| ScalafixArguments withToolClasspath( | |
| List<URL> customURLs, | |
| List<String> customDependenciesCoordinates | |
| ) throws ScalafixException; |
could and should be made available for CLI users, by supporting maven coordinates on top of URLs for --tool-classpath in
scalafix/scalafix-cli/src/main/scala/scalafix/internal/v1/Args.scala
Lines 161 to 164 in 9c282a5
| @Description( | |
| "Additional classpath for compiling and classloading custom rules, as a set of filesystem paths, separated by ':' on Unix or ';' on Windows." | |
| ) | |
| toolClasspath: URLClassLoader = ClasspathOps.thisClassLoader, |