Skip to content

Commit

Permalink
Use File.pathSeparator to support building on Windows (scoverage/sbt-…
Browse files Browse the repository at this point in the history
  • Loading branch information
maiflai committed May 20, 2023
1 parent 6849ddf commit 1abb277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/groovy/org/scoverage/ScoveragePlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class ScoveragePlugin implements Plugin<PluginAware> {
}.collect {
it.absolutePath
}
scalaCompileOptions.additionalParameters.add('-Xplugin:' + pluginFiles.join(":"))
scalaCompileOptions.additionalParameters.add('-Xplugin:' + pluginFiles.join(File.pathSeparator))
}
} else {
parameters.add("-sourceroot:${project.rootDir.absolutePath}".toString())
Expand Down

0 comments on commit 1abb277

Please sign in to comment.