From 792a0b5ffb971d2dcd4021226477a556f3746255 Mon Sep 17 00:00:00 2001 From: Andrey Stolyarov Date: Thu, 14 Nov 2024 20:37:56 +0300 Subject: [PATCH] Configure sonatype --- build.sbt | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/build.sbt b/build.sbt index de7361d..936425d 100644 --- a/build.sbt +++ b/build.sbt @@ -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"