Skip to content

Commit

Permalink
Merge pull request #2 from akiomik/sbt-sonatype
Browse files Browse the repository at this point in the history
Use sbt-sonatype
  • Loading branch information
akiomik authored Aug 29, 2021
2 parents 00e21ea + dadaf26 commit 5d2c6d1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ lazy val v3_0 = "3.0.1"
crossScalaVersions := Seq(v3_0, v2_13, v2_12)
scalaVersion := crossScalaVersions.value.head
organization := "io.github.akiomik"
description := "An alternative to wcwidth for scala, to get fixed width of Unicode characters"
homepage := Some(url("https://github.com/akiomik/seaw"))
scmInfo := Some(
ScmInfo(
Expand Down Expand Up @@ -47,3 +48,9 @@ lazy val root = project
"-language:implicitConversions"
) ++ (if (scalaVersion.value.startsWith("3.0")) scala3scalacOptions else scala2scalacOptions)
)

versionScheme := Some("early-semver")

sonatypeCredentialHost := "s01.oss.sonatype.org"
publishTo := sonatypePublishToBundle.value
publishMavenStyle := true
6 changes: 4 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.30")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.30")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.7")
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")

0 comments on commit 5d2c6d1

Please sign in to comment.