@@ -33,6 +33,8 @@ val commonSettings = Seq(
3333inThisBuild(
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" )
0 commit comments