Skip to content

Commit

Permalink
Setup sbt-ci-release and try to talk circleci into releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindberg committed Mar 15, 2021
1 parent d20cacd commit 688709e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 24 deletions.
35 changes: 12 additions & 23 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,6 @@ Global / bspEnabled := false
autoStartServer := false
Global / excludeLintKeys += autoStartServer

inThisBuild(
List(
organization := "org.scalablytyped.converter",
homepage := Some(url("https://github.com/ScalablyTyped/Converter")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"oyvindberg",
"Øyvind Raddum Berg",
"elacin@gmail.com",
url("https://github.com/oyvindberg")
),
),
),
)

lazy val utils = project
.configure(baseSettings)
.settings(libraryDependencies ++= Seq(Deps.ammoniteOps, Deps.osLib, Deps.sourcecode) ++ Deps.circe)
Expand Down Expand Up @@ -131,15 +115,20 @@ lazy val root = project

lazy val baseSettings: Project => Project =
_.settings(
sonatypeCredentialHost := Sonatype.sonatype01,
organization := "org.scalablytyped",
licenses += ("GPL-3.0", url("https://opensource.org/licenses/GPL-3.0")),
scalaVersion := "2.12.13",
scalacOptions ~= (_.filterNot(
Set(
"-Ywarn-unused:imports",
"-Ywarn-unused:params",
"-Xfatal-warnings",
homepage := Some(url("https://github.com/ScalablyTyped/Converter")),
developers := List(
Developer(
"oyvindberg",
"Øyvind Raddum Berg",
"elacin@gmail.com",
url("https://github.com/oyvindberg"),
),
)),
),
scalaVersion := "2.12.13",
scalacOptions ~= (_.filterNot(Set("-Ywarn-unused:imports", "-Ywarn-unused:params", "-Xfatal-warnings"))),
/* disable scaladoc */
sources in (Compile, doc) := Nil,
)
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.4
sbt.version=1.4.9
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0")
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.4.8")
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.6")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.7") // remove on next release of sbt-ci-release

0 comments on commit 688709e

Please sign in to comment.