Skip to content

Commit 166b02d

Browse files
committed
Update build.sbt
1 parent 2f7c56d commit 166b02d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ scalacOptions ++= {
7474
// and we use it.
7575
//scalacOptions in (Compile, compile) += "-Xfatal-warnings"
7676

77+
compileOrder := CompileOrder.JavaThenScala
78+
7779
Compile / unmanagedSourceDirectories ++= {
7880
if (scalaReleaseVersion.value > 2) {
7981
Seq(
@@ -102,7 +104,7 @@ Test / unmanagedSourceDirectories ++= {
102104
}
103105

104106
Test / unmanagedSourceDirectories ++= {
105-
if (addJava17Tests && scalaReleaseVersion.value == 2 && scalaMajorVersion.value >= 13) {
107+
if (addJava17Tests) {
106108
Seq(
107109
(LocalRootProject / baseDirectory).value / "src" / "test" / "java-17",
108110
(LocalRootProject / baseDirectory).value / "src" / "test" / "scala-jdk-17",

0 commit comments

Comments
 (0)