Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,8 @@ lazy val sparkV2 = (project in file("kernel-spark"))
// ScalaTest for test utilities (needed by Spark test classes)
"org.scalatest" %% "scalatest" % scalaTestVersion % "test"
),
Test / testOptions += Tests.Argument(TestFrameworks.JUnit, "-v", "-a")
Test / testOptions += Tests.Argument(TestFrameworks.JUnit, "-v", "-a"),
TestParallelization.settings
)


Expand Down Expand Up @@ -762,7 +763,8 @@ lazy val contribs = (project in file("contribs"))
val dir = baseDirectory.value.getParentFile / "target" / "scala-2.13" / "classes"
Files.createDirectories(dir.toPath)
},
Compile / compile := ((Compile / compile) dependsOn createTargetClassesDir).value
Compile / compile := ((Compile / compile) dependsOn createTargetClassesDir).value,
TestParallelization.settings
).configureUnidoc()

lazy val sharing = (project in file("sharing"))
Expand All @@ -789,7 +791,8 @@ lazy val sharing = (project in file("sharing"))
"org.apache.spark" %% "spark-core" % sparkVersion.value % "test" classifier "tests",
"org.apache.spark" %% "spark-sql" % sparkVersion.value % "test" classifier "tests",
"org.apache.spark" %% "spark-hive" % sparkVersion.value % "test" classifier "tests",
)
),
TestParallelization.settings
).configureUnidoc()

lazy val kernelApi = (project in file("kernel/kernel-api"))
Expand Down Expand Up @@ -981,6 +984,7 @@ lazy val storage = (project in file("storage"))

// Unidoc settings
unidocSourceFilePatterns += SourceFilePattern("/LogStore.java", "/CloseableIterator.java"),
TestParallelization.settings
).configureUnidoc()

lazy val storageS3DynamoDB = (project in file("storage-s3-dynamodb"))
Expand All @@ -1001,7 +1005,8 @@ lazy val storageS3DynamoDB = (project in file("storage-s3-dynamodb"))

// Test Deps
"org.apache.hadoop" % "hadoop-aws" % hadoopVersion % "test", // RemoteFileChangedException
)
),
TestParallelization.settings
).configureUnidoc()

val icebergSparkRuntimeArtifactName = {
Expand Down Expand Up @@ -1206,7 +1211,8 @@ lazy val hudi = (project in file("hudi"))
MergeStrategy.first
},
// Make the 'compile' invoke the 'assembly' task to generate the uber jar.
Compile / packageBin := assembly.value
Compile / packageBin := assembly.value,
TestParallelization.settings
)

/**
Expand Down
Loading