-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
22 lines (19 loc) · 923 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pgpPassphrase := Some(getEnvVar("PGP_PASSPHRASE").getOrElse("").toCharArray)
pgpPublicRing := file(s"$gpgFolder/pubring.gpg")
pgpSecretRing := file(s"$gpgFolder/secring.gpg")
lazy val root = project
.in(file("."))
.settings(name := "freestyle-microservices")
.settings(moduleName := "root")
.settings(noPublishSettings: _*)
.settings(scalaMetaSettings: _*)
.settings(libraryDependencies ++= commonDeps ++ freestyleCoreDeps())
.aggregate(`freestyle-microservicesJS`, `freestyle-microservicesJVM`)
lazy val `freestyle-microservices` = crossProject
.in(file("freestyle-microservices"))
.settings(moduleName := "freestyle-microservices")
.settings(scalaMetaSettings: _*)
.crossDepSettings(commonDeps ++ freestyleCoreDeps(): _*)
.jsSettings(sharedJsSettings: _*)
lazy val `freestyle-microservicesJVM` = `freestyle-microservices`.jvm
lazy val `freestyle-microservicesJS` = `freestyle-microservices`.js