Skip to content

Commit

Permalink
Fix a bug inside UsingCompilerPluginDirectiveHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
pikinier20 committed Nov 9, 2021
1 parent bc2f815 commit ec3d797
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ case object UsingCompilerPluginDirectiveHandler extends UsingDirectiveHandler {
DependencyParser.parse(depStr)
.left.map(err => new DependencyFormatError(depStr, err))

override def keys = Seq("lib", "libs")
override def keys = Seq("plugin", "plugins")
override def handleValues(
values: Seq[Any],
cwd: ScopePath,
Expand All @@ -63,9 +63,8 @@ case object UsingCompilerPluginDirectiveHandler extends UsingDirectiveHandler {
}

BuildOptions(
classPathOptions = ClassPathOptions(
extraDependencies = extraDependencies
.map(Positioned.none(_))
scalaOptions = ScalaOptions(
compilerPlugins = extraDependencies.map(Positioned.none(_))
)
)
}
Expand Down

0 comments on commit ec3d797

Please sign in to comment.