forked from scala-exercises/exercises-monocle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
28 lines (23 loc) · 989 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
23
24
25
26
27
28
import ProjectPlugin.autoImport._
val scalaExercisesV = "0.6.0-SNAPSHOT"
def dep(artifactId: String) = "org.scala-exercises" %% artifactId % scalaExercisesV
lazy val monocle = (project in file("."))
.enablePlugins(ExerciseCompilerPlugin)
.settings(
name := "exercises-monocle",
libraryDependencies ++= Seq(
dep("exercise-compiler"),
dep("definitions"),
%%("monocle-core", V.monocle),
%%("monocle-macro", V.monocle),
%%("scalatest", V.scalatest),
%%("scalacheck", V.scalacheck),
"org.typelevel" %% "alleycats-core" % V.cats,
"com.github.alexarchambault" %% "scalacheck-shapeless_1.14" % V.scalacheckShapeless,
"org.scalatestplus" %% "scalatestplus-scalacheck" % V.scalatestplusScheck
)
)
// Distribution
pgpPassphrase := Some(getEnvVar("PGP_PASSPHRASE").getOrElse("").toCharArray)
pgpPublicRing := file(s"$gpgFolder/pubring.gpg")
pgpSecretRing := file(s"$gpgFolder/secring.gpg")