-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
39 lines (34 loc) · 1.11 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
import Dependencies._
ThisBuild / scalaVersion := "2.12.8"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "com.example"
ThisBuild / organizationName := "example"
lazy val commonSettings = Seq(
libraryDependencies += scalaTest % Test
)
lazy val javaConcurrentProgramming = (project in file("javaconcurrentprogramming"))
lazy val zio = project
.settings(
commonSettings,
libraryDependencies += "org.scalaz" %% "scalaz-zio" % "1.0-RC4"
)
val catsEffect = (project in file("catseffect"))
.settings(
commonSettings,
libraryDependencies += "org.typelevel" %% "cats-effect" % "1.3.1",
scalacOptions ++= Seq(
"-feature",
"-deprecation",
"-unchecked",
"-language:postfixOps",
"-language:higherKinds",
"-Ypartial-unification")
)
//lazy val root = (project in file("."))
// .settings(
// name := "Concurrent Programming",
// libraryDependencies ++= Seq(
// scalaTest % Test,
// "org.scalaz" %% "scalaz-zio" % "1.0-RC4"
// ))
// See https://www.scala-sbt.org/1.x/docs/Using-Sonatype.html for instructions on how to publish to Sonatype.