From 16c2bf89cf04986e8c422212a9f505441ffd630e Mon Sep 17 00:00:00 2001 From: Boris Ning Date: Fri, 6 Sep 2024 14:19:53 -0400 Subject: [PATCH] chore[release]: this is getting frustrating --- .github/workflows/release.yml | 5 +++-- build.sbt | 18 +++++++++++++++--- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbd82ac..8a0488a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,8 +18,9 @@ jobs: - name: Setup JDK And SBT uses: actions/setup-java@v4 with: - distribution: adopt - java-version: 8 + java-version: '11' + distribution: 'adopt' + cache: sbt - name: Publish to Maven Repository run: sbt ci-release diff --git a/build.sbt b/build.sbt index 922c5c5..8b31df7 100644 --- a/build.sbt +++ b/build.sbt @@ -1,8 +1,8 @@ inThisBuild( List( name:= "HL7-PET", - organization := "gov.cdc", - homepage := Some(url("https://github.com/cdcent/hl7-pet")), + organization := "gov.cdc.hl7", + homepage := Some(url("https://github.com/cdcgov/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 ( @@ -16,12 +16,24 @@ inThisBuild( id="mcq1", name="Marcelo Caldas", email = "mcq1@cdc.com", - url = url ("https://github.com/cdcent/hl7-pet") + url = url ("https://github.com/cdcgov/hl7-pet") ) ) ) ) +mainClass := Some("gov.cdc.hl7pet.DeIdentifierApp") +Global / excludeLintKeys += mainClass + +libraryDependencies += "org.scalactic" %% "scalactic" % "3.2.14" +libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.14" % "test" +libraryDependencies += "org.scalatest" %% "scalatest-flatspec" % "3.2.14" % Test +libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.14" % Test +libraryDependencies += "com.fasterxml.jackson.core" % "jackson-databind" % "2.14.0" +libraryDependencies += "com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.17.0" +libraryDependencies += "com.fasterxml.jackson.module" % "jackson-modules-base" % "2.17.0" pomOnly() +libraryDependencies += "com.google.code.gson" % "gson" % "2.10.1" + onLoadMessage := s"Welcome to sbt-ci-release ${version.value}" lazy val plugin = project