Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/scalacenter/sbt-de…
Browse files Browse the repository at this point in the history
…pendency-submission-3
  • Loading branch information
borice authored Sep 25, 2024
2 parents 00d8462 + a43ec2c commit 154e13e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
12 changes: 6 additions & 6 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import sbt.Keys._
import sbt._
import sbt.Keys.*
import sbt.*

object Dependencies {

def spark(version: String): Seq[Def.Setting[Seq[ModuleID]]] = Seq(
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % version % Provided
exclude("org.slf4j", "slf4j-log4j12"),
"org.apache.spark" %% "spark-core" % version % Provided,
"org.apache.spark" %% "spark-sql" % version % Provided
exclude("org.slf4j", "slf4j-log4j12")
)
)

def spark_dev(version: String): Seq[Def.Setting[Seq[ModuleID]]] = Seq(
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % version
exclude("org.slf4j", "slf4j-log4j12"),
exclude("org.slf4j", "slf4j-log4j12")
exclude("org.apache.logging.log4j", "log4j-slf4j2-impl"),
"org.apache.spark" %% "spark-sql" % version
exclude("org.slf4j", "slf4j-log4j12")
exclude("org.apache.logging.log4j", "log4j-slf4j2-impl")
)
)

Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.10.0
sbt.version=1.10.2
4 changes: 0 additions & 4 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
logLevel := Level.Warn

ThisBuild / libraryDependencySchemes ++= Seq(
"org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always
)

addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.1")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.10.0")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.2.0")
Expand Down

0 comments on commit 154e13e

Please sign in to comment.