I'd finished Ktlint custom rule sets support in #1896, but it supports Maven coordinates only due to the limits of
|
/** Provisions the given maven coordinates and their transitive dependencies. */ |
|
public static JarState from(Collection<String> mavenCoordinates, Provisioner provisioner) throws IOException { |
|
return provisionWithTransitives(true, mavenCoordinates, provisioner); |
|
} |
We can extend this for Gradle local projects to be used as the inputs, not sure if this way works for Maven projects as well.
I'd finished Ktlint custom rule sets support in #1896, but it supports Maven coordinates only due to the limits of
spotless/lib/src/main/java/com/diffplug/spotless/JarState.java
Lines 56 to 59 in 0189f71
We can extend this for Gradle local projects to be used as the inputs, not sure if this way works for Maven projects as well.