gradle-scalastyle-plugin icon indicating copy to clipboard operation
gradle-scalastyle-plugin copied to clipboard

Bug + fix in multimodules

Open soywiz opened this issue 8 years ago • 1 comments

https://github.com/ngbinh/gradle-scalastyle-plugin/blob/0cea2e2a99d6b86de2a3932e7106537f104ef7f8/gradle-scalastyle-plugin_2.11/src/main/groovy/org/github/ngbinh/scalastyle/ScalaStyleTask.groovy#L77

You should change outputFile to project.file(outputFile)

Symptoms: empty xml file in submodule, actual xml file in root module or where CWD is

soywiz avatar Oct 23 '17 17:10 soywiz

It reproduces with a custom relative outputFile

soywiz avatar Oct 24 '17 08:10 soywiz