Skip to content

Commit

Permalink
fmt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
soujiro32167 committed Jun 10, 2024
1 parent b8e69da commit afb81bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ lazy val generic = project
crossScalaVersions += scala3
),
// magnolia requires compilation with the -Yretain-trees flag to support case class field default values on Scala 3
Test / scalacOptions ++= (if (CrossVersion.partialVersion(scalaVersion.value).exists(_._1 == 3)) Seq("-Yretain-trees") else Nil),
Test / scalacOptions ++= (if (CrossVersion.partialVersion(scalaVersion.value).exists(_._1 == 3))
Seq("-Yretain-trees")
else Nil),
testSettings
)
.dependsOn(core % "compile->compile;test->test")
Expand Down

0 comments on commit afb81bb

Please sign in to comment.