Skip to content

Commit

Permalink
Updated SBT (#164)
Browse files Browse the repository at this point in the history
Reformat of some lines in build.sbt to avoid deprecated calls.
Updated sbt-sonatype plugin due to error on SBT startup.
  • Loading branch information
alfonsorr authored Oct 5, 2024
1 parent 5ed04cb commit c59d416
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
scalafmtOnCompile in Compile := true
Compile / scalafmtOnCompile := true

organization := "com.github.mrpowers"
name := "spark-daria"

version := "1.2.3"
crossScalaVersions := Seq("2.12.15", "2.13.8")
scalaVersion := "2.12.15"
//scalaVersion := "2.13.8"

val sparkVersion = "3.2.1"

libraryDependencies += "org.apache.spark" %% "spark-sql" % sparkVersion % "provided"
Expand All @@ -18,7 +18,7 @@ testFrameworks += new TestFramework("com.github.mrpowers.spark.daria.CustomFrame

credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credentials")

fork in Test := true
Test / fork := true

javaOptions ++= Seq("-Xms512M", "-Xmx2048M", "-XX:+CMSClassUnloadingEnabled", "-Duser.timezone=GMT")

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.4.3
sbt.version = 1.10.2
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ resolvers += Resolver.bintrayIvyRepo(
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.0")

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.15.0")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.10")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.11.3")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1")

0 comments on commit c59d416

Please sign in to comment.