Skip to content

Commit

Permalink
fix publishing settings
Browse files Browse the repository at this point in the history
  • Loading branch information
barryoneill committed Sep 11, 2021
1 parent 4286154 commit 40742d0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ThisBuild / scalaVersion := "2.13.6"

lazy val publishSettings = Seq(
Test / publishArtifact := false,
pomIncludeRepository := (_ => false),
Expand All @@ -22,8 +24,8 @@ lazy val root = project
.in(file("."))
.settings(
name := "slack4s",
publishSettings,
Seq(
scalaVersion := "2.13.6",
addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"),
scalacOptions ++= Seq(
"-encoding",
Expand All @@ -34,8 +36,8 @@ lazy val root = project
"-language:higherKinds",
"-language:implicitConversions",
"-language:postfixOps",
"-Xlint:_,-byname-implicit" // see https://github.com/scala/bug/issues/12072
// "-Xfatal-warnings"
"-Xlint:_,-byname-implicit", // see https://github.com/scala/bug/issues/12072
"-Xfatal-warnings"
)
),
Test / fork := true,
Expand All @@ -48,8 +50,8 @@ lazy val root = project
Dependencies.Http4s,
Dependencies.Slack,
// ------------------ version fmt + buildinfo ------------------
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
buildInfoPackage := "slack4s",
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
buildInfoPackage := "slack4s",
addCommandAlias("format", ";scalafmtAll;scalafmtSbt"),
addCommandAlias("checkFormat", ";scalafmtCheckAll;scalafmtSbtCheck"),
addCommandAlias("fullTest", ";clean;checkFormat;coverage;test;coverageReport")
Expand Down

0 comments on commit 40742d0

Please sign in to comment.