Skip to content

Commit

Permalink
Remove more deprecated syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
gabro committed Apr 5, 2021
1 parent 7ca11f5 commit 6fbc1f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ object MUnitReportPlugin extends AutoPlugin {
if ("unknown" == BuildInfo.munitVersion) Nil
else List("org.scalameta" %% "munit-docs" % BuildInfo.munitVersion)
},
resourceGenerators.in(Compile) += Def.task[List[File]] {
Compile / resourceGenerators += Def.task[List[File]] {
val out =
managedResourceDirectories.in(Compile).value.head / "munit.properties"
(Compile / managedResourceDirectories).value.head / "munit.properties"
val props = new java.util.Properties()
munitRepository.value.foreach { repo =>
props.put("munitRepository", repo)
Expand Down

0 comments on commit 6fbc1f1

Please sign in to comment.