From 0e990fb7a5bd9d4920d2a7c7b53e7f039f7a3005 Mon Sep 17 00:00:00 2001 From: Holden Karau Date: Sun, 29 Sep 2024 20:20:15 -0700 Subject: [PATCH] Fix version check for core src. --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 2628d058..0b71cb0c 100644 --- a/build.sbt +++ b/build.sbt @@ -199,7 +199,7 @@ val coreSources = unmanagedSourceDirectories in Compile := { } val coreTestSources = unmanagedSourceDirectories in Test := { - if (sparkVersion.value >= "3.0.0" && scalaVersion.value >= "2.12.0") Seq( + if (sparkVersion.value >= "4.0.0" && scalaVersion.value >= "2.12.0") Seq( (sourceDirectory in Test)(_ / "4.0/scala"), (sourceDirectory in Test)(_ / "3.0/scala"), (sourceDirectory in Test)(_ / "3.0/java"),