Closed jawshooah closed 7 years ago
I've created an example repository at jawshooah/sbt-scalastyle-autoplugin-test to demonstrate how to reproduce this issue.
Note that the same problem appears to be present when setting scalastyleTarget in Test
, except that additionally setting scalastyleTarget in scalastyle
doesn't work here.
@matthewfarwell Any input on this?
+1
+1
+1
Was anyone able to set scalastyleConfigUrl in Test
? The trick with in scalastyle
doesn't work for scalastyleConfigUrl
.
This is probably fixed now, via #52. Can you test it against the 0.9.0-SNAPSHOT and see if it works please?
I'm trying to extract shared plugins and settings into a common set of AutoPlugins. Here's the plugin for Scalastyle:
scalastyleConfig
appears to be set correctly inCompile
:...but not in
Test
:If I add the line:
...it works. I assume this is related to the way
scalastyleConfig in Test
is initially set, but this is very counterintuitive, and I'm not sure if it has any other repercussions.