aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.sbt b/build.sbt
index db54f76..33026f3 100644
--- a/build.sbt
+++ b/build.sbt
@@ -23,6 +23,7 @@ lazy val examples = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.settings(publishSettings: _*)
.settings(moduleName := "magnolia-examples")
.settings(quasiQuotesDependencies)
+ .settings(examplesDependencies)
.nativeSettings(nativeSettings)
.dependsOn(core)
@@ -132,6 +133,9 @@ lazy val scalaMacroDependencies: Seq[Setting[_]] = Seq(
libraryDependencies += compilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
)
+lazy val examplesDependencies: Seq[Setting[_]] = Seq(
+ libraryDependencies += "org.typelevel" %% "cats-core" % "0.9.0")
+
credentials ++= (for {
username <- Option(System.getenv().get("SONATYPE_USERNAME"))
password <- Option(System.getenv().get("SONATYPE_PASSWORD"))