Skip to content

Commit

Permalink
Configure sonatype
Browse files Browse the repository at this point in the history
  • Loading branch information
d10xa committed Nov 14, 2024
1 parent b64dcc0 commit 792a0b5
Showing 1 changed file with 28 additions and 18 deletions.
46 changes: 28 additions & 18 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,36 @@ val commonSettings = Seq(

enablePlugins(Sonatype)

inThisBuild(List(
organization := "ru.d10xa",
homepage := Some(url("https://github.com/d10xa/json-log-viewer")),
licenses := List(("MIT", url("https://opensource.org/licenses/MIT"))),
developers := List(
Developer(
"d10xa",
"Andrey Stolyarov",
"d10xa@mail.ru",
url("https://d10xa.ru")
inThisBuild(
List(
organization := "ru.d10xa",
homepage := Some(url("https://github.com/d10xa/json-log-viewer")),
licenses := List(("MIT", url("https://opensource.org/licenses/MIT"))),
developers := List(
Developer(
"d10xa",
"Andrey Stolyarov",
"d10xa@mail.ru",
url("https://d10xa.ru")
)
),
sonatypeCredentialHost := sonatypeCentralHost,
sonatypeProfileName := "ru.d10xa",
sonatypeProjectHosting := Some(
GitHubHosting(
user = "ru.d10xa",
repository = "json-log-viewer",
email = "d10xa@mail.ru"
)
),
credentials += Credentials(
"Sonatype Nexus Repository Manager",
"oss.sonatype.org",
sys.env.getOrElse("SONATYPE_USERNAME", ""),
sys.env.getOrElse("SONATYPE_PASSWORD", "")
)
),
sonatypeCredentialHost := sonatypeCentralHost,
sonatypeProfileName := "ru.d10xa",
credentials += Credentials("Sonatype Nexus Repository Manager",
"oss.sonatype.org",
sys.env.getOrElse("SONATYPE_USERNAME", ""),
sys.env.getOrElse("SONATYPE_PASSWORD", "")
)
))
)

val circeVersion = "0.14.10"
val declineVersion = "2.4.1"
Expand Down

0 comments on commit 792a0b5

Please sign in to comment.