Skip to content

Commit e932805

Browse files
author
Jonas Chapuis
committed
Update build settings and sbt-ci-release plugin version
1 parent 4106f16 commit e932805

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

build.sbt

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ val commonSettings = Seq(
3333
inThisBuild(
3434
List(
3535
organization := "io.github.endless4s",
36+
organizationName := "endless4s",
37+
organizationHomepage := Some(url("https://endless4s.github.io")),
3638
homepage := Some(url("https://github.com/endless4s/endless")),
3739
licenses := List("MIT License" -> url("http://opensource.org/licenses/mit-license.php")),
3840
developers := List(
@@ -43,10 +45,20 @@ inThisBuild(
4345
url("https://jonaschapuis.com")
4446
)
4547
),
46-
sonatypeCredentialHost := "s01.oss.sonatype.org",
47-
sonatypeProjectHosting := Some(
48-
xerial.sbt.Sonatype.GitHubHosting("endless4s", "endless", "me@jonaschapuis.com")
48+
scmInfo := Some(
49+
ScmInfo(
50+
url("https://github.com/endless4s/endless"),
51+
"git@github.com:endless4s/endless.git"
52+
)
4953
),
54+
publishTo := {
55+
val centralSnapshots = "https://central.sonatype.com/repository/maven-snapshots/"
56+
if (isSnapshot.value) Some("central-snapshots" at centralSnapshots)
57+
else localStaging.value
58+
},
59+
description := "Scala library to describe event sourced entities using tagless-final algebras",
60+
pomIncludeRepository := { _ => false },
61+
publishMavenStyle := true,
5062
Global / onChangedBuildSource := ReloadOnSourceChanges,
5163
PB.protocVersion := "3.17.3", // works on Apple Silicon,
5264
versionPolicyIntention := Compatibility.BinaryCompatible,
@@ -203,8 +215,7 @@ lazy val documentation = (project in file("documentation"))
203215
),
204216
Compile / paradoxMaterialTheme := {
205217
val theme = (Compile / paradoxMaterialTheme).value
206-
val repository =
207-
(ThisBuild / sonatypeProjectHosting).value.get.scmInfo.browseUrl.toURI
218+
val repository = uri("https://github.com/endless4s/endless")
208219
theme
209220
.withRepository(repository)
210221
.withFont("Overpass", "Overpass Mono")

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.3.0")
44

55
addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "3.2.1")
66

7-
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.3")
7+
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.11.1")
88

99
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.5")
1010

0 commit comments

Comments
 (0)