Skip to content

Commit

Permalink
chore(prism-node): set github setting keys using .settings(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat Losoponkul committed Nov 16, 2022
1 parent df44dc9 commit c5ebe10
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions prism-node/client/scala-client/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,23 @@ inThisBuild(
scalaVersion := "3.2.0",
fork := true,
run / connectInput := true,
versionScheme := Some("semver-spec"),
githubOwner := "input-output-hk",
githubRepository := "atala-prism-building-blocks",
githubTokenSource := TokenSource.Environment("ATALA_GITHUB_TOKEN")
versionScheme := Some("semver-spec")
)
)

val commonSettings = Seq(
githubOwner := "input-output-hk",
githubRepository := "atala-prism-building-blocks",
githubTokenSource := TokenSource.Environment("ATALA_GITHUB_TOKEN")
)

// Custom keys
val apiBaseDirectory = settingKey[File]("The base directory for Node 2 API specifications")
ThisBuild / apiBaseDirectory := baseDirectory.value / "../../api"

lazy val root = project
.in(file("."))
.settings(commonSettings)
.settings(
name := "prism-node-client",
libraryDependencies ++= rootDependencies,
Expand Down

0 comments on commit c5ebe10

Please sign in to comment.