Skip to content

Commit

Permalink
build: Fix source paths messed up after Mill upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
nightscape committed Nov 14, 2023
1 parent c1a385f commit cda2140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import $ivy.`io.chris-kipp::mill-ci-release::0.1.9`
import io.kipp.mill.ci.release.CiReleaseModule
import coursier.maven.MavenRepository
import mill._, scalalib._, publish._
import mill.modules.Assembly._
import Assembly._

trait SparkModule extends Cross.Module2[String, String] with SbtModule with CiReleaseModule {
outer =>
override def scalaVersion = crossValue
val sparkVersion = crossValue2

override def millSourcePath = super.millSourcePath / os.up / os.up / os.up
override def millSourcePath = super.millSourcePath / os.up

// Custom source layout for Spark Data Source API 2
val sparkVersionSpecificSources = if (sparkVersion >= "3.4.0") {
Expand Down

0 comments on commit cda2140

Please sign in to comment.