Skip to content

Commit 494167c

Browse files
Updated sbt-ci-release to use central.sonatype.com for artifact publication
1 parent 29e91ec commit 494167c

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

build.sbt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
import scala.jdk.CollectionConverters._
22
import java.util.Properties
33
import com.sourcegraph.sbtsourcegraph.Versions
4+
import xerial.sbt.Sonatype.sonatypeCentralHost
5+
46

57
val V = new {
6-
def scala212 = "2.12.12"
8+
def scala212 = "2.12.20"
79
def scalameta = "4.4.25"
810
}
911

1012
scalaVersion := V.scala212
1113
ThisBuild / scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.5.0-alpha.1"
1214
ThisBuild / versionScheme := Some("early-semver")
15+
ThisBuild / sonatypeCredentialHost := sonatypeCentralHost
1316
organization := "com.sourcegraph"
1417
semanticdbEnabled := !scalaVersion.value.startsWith("2.10")
15-
semanticdbVersion := "4.4.26"
18+
semanticdbVersion := "4.12.2"
1619
homepage := Some(url("https://github.com/sourcegraph/sbt-sourcegraph"))
1720
licenses := List(
1821
"Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.9.3
1+
sbt.version=1.11.1

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.5")
1+
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.11.2")
22
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0")
33
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3")
44
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.29")

0 commit comments

Comments
 (0)