Skip to content

Commit a05d777

Browse files
committed
exclude orc-core and orc-format from SBT build
1 parent cc0e539 commit a05d777

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

project/SparkBuild.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,12 @@ object SparkBuild extends PomBuild {
290290
sparkGenjavadocSettings ++
291291
compilerWarningSettings ++
292292
(if (noLintOnCompile) Nil else enableScalaStyle) ++ Seq(
293+
(Compile / dependencyClasspath) := (Compile / dependencyClasspath).value
294+
.filterNot(file => {
295+
val name = file.toString
296+
(name.contains("orc-core") || name.contains("orc-format")) &&
297+
!name.contains("shaded-protobuf")
298+
}),
293299
(Compile / exportJars) := true,
294300
(Test / exportJars) := false,
295301
javaHome := sys.env.get("JAVA_HOME")

0 commit comments

Comments
 (0)