Skip to content
Merged
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
19 changes: 13 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ lazy val datasetSettings = framelessSettings ++ framelessTypedDatasetREPL ++ Seq
)

lazy val refinedSettings = framelessSettings ++ framelessTypedDatasetREPL ++ Seq(
mimaPreviousArtifacts := Set.empty,
libraryDependencies += "eu.timepit" %% "refined" % refinedVersion
)

Expand Down Expand Up @@ -253,11 +252,6 @@ lazy val framelessSettings = Seq(
mimaPreviousArtifacts ~= {
_.filterNot(_.revision == "0.11.0") // didn't release properly
},
mimaPreviousArtifacts := {
if (scalaBinaryVersion.value == "2.13")
Set.empty
else mimaPreviousArtifacts.value
},
) ++ consoleSettings

lazy val spark30Settings = Seq(
Expand Down Expand Up @@ -358,3 +352,16 @@ ThisBuild / githubWorkflowBuildPostamble ++= Seq(
name = Some("Upload Codecov Results")
)
)

def crossCommand(command: String) =
List(s"++$Scala212", s"root/$command", s"++$Scala213", s"root-spark32/$command")
Comment thread
pomadchin marked this conversation as resolved.

tlReplaceCommandAlias(
"tlReleaseLocal",
("reload" :: crossCommand("publishLocal")).mkString("; ")
)

tlReplaceCommandAlias(
"tlRelease",
("reload" :: crossCommand("mimaReportBinaryIssues") ::: crossCommand("publish") ::: List("tlSonatypeBundleReleaseIfRelevant")).mkString("; ")
)