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
28 changes: 15 additions & 13 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import java.net.URI
inThisBuild(
Seq(
organization := "io.bullet",
homepage := Some(URI.create("https://github.com/sirthias/spliff/").toURL),
description := "Efficient diffing in Scala",
startYear := Some(2020),
licenses := Seq("MPLv2" -> URI.create("https://www.mozilla.org/en-US/MPL/2.0/").toURL),
homepage := Some(URI.create("https://github.com/sirthias/spliff/").toURL),
description := "Efficient diffing in Scala",
startYear := Some(2020),
licenses := Seq("MPLv2" -> URI.create("https://www.mozilla.org/en-US/MPL/2.0/").toURL),
scmInfo := Some(ScmInfo(url("https://github.com/sirthias/spliff/"), "scm:git:git@github.com:sirthias/spliff.git")),
developers :=
List(
Expand All @@ -21,17 +21,18 @@ inThisBuild(
)

lazy val commonSettings = Seq(
scalaVersion := "2.13.17",
scalaVersion := "2.13.17",
crossScalaVersions := Seq("2.13.17", "3.3.7"),
libraryDependencies ++= Seq(
"org.scalameta" %% "munit" % "1.2.1" % Test,
"org.scalameta" %% "munit-scalacheck" % "1.2.0" % Test,
"org.scalameta" %% "munit" % "1.2.4" % Test,
"org.scalameta" %% "munit-scalacheck" % "1.2.0" % Test,
"org.scalacheck" %% "scalacheck" % "1.19.0" % Test
),
Compile / doc / scalacOptions += "-no-link-warnings",
scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-encoding",
"UTF-8",
"-feature",
"-language:implicitConversions",
"-release:8",
Expand All @@ -49,7 +50,8 @@ lazy val commonSettings = Seq(
"-Wunused",
"-Xlint",
"-Xsource:3",
"-Ybackend-parallelism", "8",
"-Ybackend-parallelism",
"8",
"-Ycache-macro-class-loader:last-modified",
)
case Some((3, _)) =>
Expand All @@ -69,10 +71,10 @@ lazy val commonSettings = Seq(
headerLicense := Some(HeaderLicense.MPLv2("2021 - 2024", "Mathias Doenitz")),

// publishing
publishMavenStyle := true,
publishMavenStyle := true,
Test / publishArtifact := false,
pomIncludeRepository := (_ β‡’ false),
publishTo := sonatypePublishToBundle.value,
pomIncludeRepository := (_ β‡’ false),
publishTo := sonatypePublishToBundle.value,
sonatypeCredentialHost := xerial.sbt.Sonatype.sonatypeCentralHost,
)

Expand All @@ -86,7 +88,7 @@ lazy val releaseSettings = {
import ReleaseTransformations._
Seq(
releaseCrossBuild := true,
releaseProcess := Seq[ReleaseStep](
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
Expand Down