Skip to content

Commit c14f70d

Browse files
committed
Format build.sbt with scalafmt
1 parent a28709c commit c14f70d

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

build.sbt

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -553,10 +553,7 @@ def javacModuleOptions = List(
553553

554554
lazy val unit = project
555555
.in(file("tests/unit"))
556-
.settings(
557-
javaOnlySettings,
558-
javaJUnitTestSettings
559-
)
556+
.settings(javaOnlySettings, javaJUnitTestSettings)
560557
.dependsOn(javacPlugin)
561558

562559
lazy val buildTools = project
@@ -621,9 +618,8 @@ lazy val javaJUnitTestSettings = List[Def.Setting[_]](
621618
// Pin the JDK version embedded in stdlib SCIP symbols (e.g. `jdk 11
622619
// java/lang/String#`) so snapshots are stable across JDK 11/17/21.
623620
Test / javaOptions += "-Dscip.jdk.version=11",
624-
libraryDependencies +=
625-
"com.github.sbt.junit" % "jupiter-interface" %
626-
JupiterKeys.jupiterVersion.value % Test
621+
libraryDependencies += "com.github.sbt.junit" % "jupiter-interface" %
622+
JupiterKeys.jupiterVersion.value % Test
627623
)
628624

629625
// Runtime paths for the snapshot generator, passed as -D system properties
@@ -633,9 +629,14 @@ lazy val javaJUnitTestSettings = List[Def.Setting[_]](
633629
def snapshotPathOptions = Def.task {
634630
val _ = (minimized / Compile / compile).value
635631
Seq(
636-
s"-Dsnapshot.expectDir=${((Compile / sourceDirectory).value / "generated").getAbsolutePath}",
637-
s"-Dsnapshot.minimizedTargetroot=${(minimized / Compile / semanticdbTargetRoot).value.getAbsolutePath}",
638-
s"-Dsnapshot.sourceroot=${(ThisBuild / baseDirectory).value.getAbsolutePath}"
632+
s"-Dsnapshot.expectDir=${((Compile / sourceDirectory).value / "generated")
633+
.getAbsolutePath}",
634+
s"-Dsnapshot.minimizedTargetroot=${(
635+
minimized / Compile / semanticdbTargetRoot
636+
).value.getAbsolutePath}",
637+
s"-Dsnapshot.sourceroot=${(ThisBuild / baseDirectory)
638+
.value
639+
.getAbsolutePath}"
639640
)
640641
}
641642

0 commit comments

Comments
 (0)