From 9d8ad38407f1951d0a524cd5689b84e33cf89b75 Mon Sep 17 00:00:00 2001 From: Boris Ning Date: Fri, 6 Sep 2024 12:35:19 -0400 Subject: [PATCH] chore[release]: mucking with build.sbt settings to default --- build.sbt | 58 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 21 deletions(-) diff --git a/build.sbt b/build.sbt index d5aabdb..dccb87f 100644 --- a/build.sbt +++ b/build.sbt @@ -1,25 +1,26 @@ -inThisBuild(List( - name:= "HL7-PET", - organization := "gov.cdc.hl7", - organizationName:= "CDC", - homepage := Some(url("https://github.com/cdcent/hl7-pet")), - description := "This project is a library to Parse HL7 v2 messages", - licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), - scmInfo:= Some ( - ScmInfo( - url("https://github.com/cdcgov/hl7-pet"), - "scm:git@github.com/cdcgov/hl7-pet.git" - ) - ), - developers := List( - Developer( - id="mcq1", - name="Marcelo Caldas", - email = "mcq1@cdc.com", - url = url ("https://github.com/cdcent/hl7-pet") +inThisBuild( + List( + name:= "HL7-PET", + organization := "gov.cdc.hl7", + homepage := Some(url("https://github.com/cdcent/hl7-pet")), + description := "This project is a library to Parse HL7 v2 messages", + licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), + scmInfo:= Some ( + ScmInfo( + url("https://github.com/cdcgov/hl7-pet"), + "scm:git@github.com/cdcgov/hl7-pet.git" + ) + ), + developers := List( + Developer( + id="mcq1", + name="Marcelo Caldas", + email = "mcq1@cdc.com", + url = url ("https://github.com/cdcent/hl7-pet") + ) ) ) -)) +) pomIncludeRepository := { _ => false } @@ -42,4 +43,19 @@ crossPaths:= true publishArtifact in (Compile, packageSrc) := true ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org" -sonatypeRepository := "https://s01.oss.sonatype.org/service/local" \ No newline at end of file +sonatypeRepository := "https://s01.oss.sonatype.org/service/local" + +onLoadMessage := s"Welcome to sbt-ci-release ${version.value}" + +publish / skip := true // don't publish the root project + +lazy val plugin = project + .enablePlugins(SbtPlugin) + .settings( + moduleName := "sbt-ci-release", + pluginCrossBuild / sbtVersion := "1.0.4", + addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.0.1"), + addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.1"), + addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1"), + addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.11.3") + ) \ No newline at end of file