All checks were successful
/ Build and Release Library (push) Successful in 1m19s
46 lines
1.1 KiB
Scala
46 lines
1.1 KiB
Scala
val scala3: String = "3.7.4"
|
|
|
|
ThisBuild / scalaVersion := scala3
|
|
ThisBuild / versionScheme := Some("semver-spec")
|
|
ThisBuild / gsProjectName := "gs-graph"
|
|
|
|
ThisBuild / externalResolvers := Seq(
|
|
"Garrity Software Mirror" at "https://maven.garrity.co/releases",
|
|
"Garrity Software Releases" at "https://maven.garrity.co/gs"
|
|
)
|
|
|
|
ThisBuild / licenses := Seq(
|
|
"MIT" -> url("https://git.garrity.co/garrity-software/gs-graph/LICENSE")
|
|
)
|
|
|
|
val sharedSettings = Seq(
|
|
scalaVersion := scala3,
|
|
version := semVerSelected.value,
|
|
coverageFailOnMinimum := true
|
|
/* coverageMinimumStmtTotal := 100, coverageMinimumBranchTotal := 100 */
|
|
)
|
|
|
|
val Deps = new {
|
|
val Gs = new {
|
|
val Datagen: ModuleID = "gs" %% "gs-datagen-core-v0" % "0.3.3"
|
|
}
|
|
|
|
val MUnit: ModuleID = "org.scalameta" %% "munit" % "1.1.1"
|
|
}
|
|
|
|
lazy val testSettings = Seq(
|
|
libraryDependencies ++= Seq(
|
|
Deps.MUnit % Test,
|
|
Deps.Gs.Datagen % Test
|
|
)
|
|
)
|
|
|
|
lazy val `gs-graph` = project
|
|
.in(file("."))
|
|
.settings(sharedSettings)
|
|
.settings(testSettings)
|
|
.settings(name := s"${gsProjectName.value}-v${semVerMajor.value}")
|
|
.settings(
|
|
libraryDependencies ++= Seq(
|
|
)
|
|
)
|