I want to invoke scalastyle before the testing actually begins. I started with this
def styleCheck = streams.map(s => Tasks.doScalastyle())
(test in Test) <<= (test in Test) dependsOn styleCheck
I am not sure what to fill in for the parameters of Tasks.doScalastyle