-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
77 lines (61 loc) · 2.15 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import sbt._
lazy val functionalScala = (project in file(".")).
settings (
name := "Scraper Scala",
organization := "come.cascadeofinsights",
version := "0.1-SNAPSHOT",
scalaVersion := "2.12.6",
initialCommands in Compile in console := """
|import scalaz._, scalaz.zio._, scalaz.zio.console._,com.cascadeofinsights.scraper.devUtils._, com.cascadeofinsights.scraper.models._
""".stripMargin
)
scalaVersion := "2.12.6"
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.6")
addCompilerPlugin(
"org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full
)
scalacOptions ++= Seq(
"-deprecation"
, "-unchecked"
, "-encoding", "UTF-8"
, "-Xlint"
, "-Xverify"
, "-feature"
, "-Ypartial-unification"
, "-Xlint:-unused"
, "-language:_"
)
javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation", "-source", "1.7", "-target", "1.7")
val CatsEffectVersion = "1.0.0-RC3"
val ScalaZVersion = "7.2.26"
val ZIOVersion = "0.3.1"
libraryDependencies ++= Seq(
// -- testing --
"org.scalacheck" %% "scalacheck" % "1.13.4" % "test",
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
// Cats Effect
"org.typelevel" %% "cats-effect" % CatsEffectVersion,
// Scalaz
"org.scalaz" %% "scalaz-core" % ScalaZVersion,
"org.scalaz" %% "scalaz-zio" % ZIOVersion,
"org.scalaz" %% "scalaz-zio-interop" % ZIOVersion,
// URL parsing
"io.lemonlabs" %% "scala-uri" % "1.3.1",
"commons-codec" % "commons-codec" % "1.9",
//tests
"com.lihaoyi" %% "utest" % "0.6.5" % "test",
//twitter
"com.danielasfregola" %% "twitter4s" % "5.5"
)
testFrameworks += new TestFramework("utest.runner.Framework")
val circeVersion = "0.10.0"
libraryDependencies ++= Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser"
).map(_ % circeVersion)
resolvers ++= Seq(
"Typesafe Snapshots" at "http://repo.typesafe.com/typesafe/snapshots/",
"Secured Central Repository" at "https://repo1.maven.org/maven2",
Resolver.sonatypeRepo("snapshots")
)