-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Seun Soyinka
authored and
Seun Soyinka
committed
Aug 20, 2024
1 parent
c09837c
commit 97538c9
Showing
1 changed file
with
22 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,28 @@ | ||
name:= "HL7-PET" | ||
|
||
//githubOwner := "cdc.gov" | ||
//githubRepository := "HL7-PET" | ||
//githubTokenSource := TokenSource.Environment("GITHUB_TOKEN") | ||
|
||
|
||
organization:= "gov.cdc.hl7" | ||
organizationName:= "CDC" | ||
scmInfo:= Some ( | ||
ScmInfo( | ||
url("https://github.com/cdcgov/hl7-pet"), | ||
"scm:[email protected]/cdcgov/hl7-pet.git" | ||
) | ||
) | ||
|
||
developers := List( | ||
Developer( | ||
id="mcq1", | ||
name="Marcelo Caldas", | ||
email = "[email protected]", | ||
url = url ("https://github.com/cdcent/hl7-pet") | ||
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:[email protected]/cdcgov/hl7-pet.git" | ||
) | ||
), | ||
developers := List( | ||
Developer( | ||
id="mcq1", | ||
name="Marcelo Caldas", | ||
email = "[email protected]", | ||
url = url ("https://github.com/cdcent/hl7-pet") | ||
) | ||
) | ||
) | ||
|
||
description := "This project is a library to Parse HL7 v2 messages" | ||
licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")) | ||
homepage := Some(url("https://github.com/cdcent/hl7-pet")) | ||
|
||
// pomIncludeRepository := { _ => false } | ||
|
||
// publishTo := Some("GitHub cdcgov Apache Maven Packages" at "https://maven.pkg.github.com/cdcgov/hl7-pet") | ||
// credentials += Credentials( | ||
// "GitHub Package Registry", | ||
// "maven.pkg.github.com", | ||
// "cdcgov", | ||
// System.getenv("GITHUB_TOKEN") | ||
// ) | ||
)) | ||
|
||
// credentials += Credentials(Path.userHome / ".sbt" / ".credentials") | ||
scalaVersion := "2.13.13" | ||
|
||
// publishTo := sonatypePublishTo.value | ||
/*** | ||
publishTo := { | ||
val nexus = "https://s01.oss.sonatype.org/" | ||
if (isSnapshot.value) | ||
Some("snapshots" at nexus + "content/repositories/snapshots") | ||
else | ||
Some("releases" at nexus + "service/local/staging/deploy/maven2") | ||
} | ||
*/ | ||
|
||
publishMavenStyle := true | ||
|
||
// version := "1.2.10" | ||
// scalaVersion:= "2.13.10" | ||
|
||
// version := "1.2.10" | ||
// scalaVersion := "2.13.13" | ||
|
||
//mainClass in assembly := Some("gov.cdc.hl7pet.DeIdentifierApp") | ||
mainClass := Some("gov.cdc.hl7pet.DeIdentifierApp") | ||
Global / excludeLintKeys += mainClass | ||
|
||
|
@@ -71,23 +35,4 @@ libraryDependencies += "com.fasterxml.jackson.module" %% "jackson-module-scala" | |
libraryDependencies += "com.fasterxml.jackson.module" % "jackson-modules-base" % "2.17.0" pomOnly() | ||
libraryDependencies += "com.google.code.gson" % "gson" % "2.10.1" | ||
|
||
//assemblyMergeStrategy in assembly := { | ||
// case PathList("META-INF", xs @ _*) => MergeStrategy.discard | ||
// case x => MergeStrategy.first | ||
//} | ||
|
||
// crossPaths:= true | ||
|
||
// publishArtifact in (Compile, packageSrc) := true | ||
// publishArtifact := false | ||
|
||
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.2") | ||
) |