Open soywiz opened 6 years ago
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)
outputFile
project.file(outputFile)
Symptoms: empty xml file in submodule, actual xml file in root module or where CWD is
It reproduces with a custom relative outputFile
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
toproject.file(outputFile)
Symptoms: empty xml file in submodule, actual xml file in root module or where CWD is