Skip to content

Commit

Permalink
chore[release]: mucking with build.sbt settings to default
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-ning-usds committed Sep 6, 2024
1 parent 1253d5a commit 9d8ad38
Showing 1 changed file with 37 additions and 21 deletions.
58 changes: 37 additions & 21 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -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 }

Expand All @@ -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"
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")
)

0 comments on commit 9d8ad38

Please sign in to comment.