-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
80 lines (74 loc) · 3.52 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
77
78
79
80
name := "Mp3Streamer"
version := "1.0-SNAPSHOT"
Test / resourceDirectory := baseDirectory.value / "test-resources"
Compile / resourceDirectory := baseDirectory.value / "conf"
val scalaVersionStr = "2.12.15"
scalaVersion := scalaVersionStr
version := "1.0-SNAPSHOT"
routesGenerator := InjectedRoutesGenerator
val playWsStandaloneVersion = "1.1.2"
addCompilerPlugin(("org.scalamacros" % "paradise" % "2.1.1").cross(CrossVersion.full))
addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.2.4")
Compile / doc / sources := Seq.empty
Compile / packageDoc / publishArtifact := false
resolvers ++= Seq(
"Typesafe Ivy Repository".at("https://repo.typesafe.com/typesafe/ivy-releases/"),
"Typesafe Maven Repository".at("https://repo.typesafe.com/typesafe/maven-releases/"),
"Maven Repository".at("https://repo1.maven.org/maven2/"),
"Apache Snapshot Repository".at("https://repository.apache.org/snapshots/"),
Resolver.file("Local ivy repo", file(System.getProperty("user.home") + "/.ivy2/local"))(
Resolver.ivyStylePatterns,
),
Resolver.mavenLocal,
)
val akkaVersion = "2.6.21"
val monocleVersion = "1.5.0"
val playIterateesVersion = "2.6.1"
val scalazVersion = "7.2.15"
val guiceVersion = "4.2.0"
libraryDependencies ++= Seq(
guice,
"com.beachape" %% "enumeratum" % "1.5.13",
"com.github.julien-truffaut" %% "monocle-core" % monocleVersion,
"com.github.julien-truffaut" %% "monocle-macro" % monocleVersion,
"com.github.mpilquist" %% "simulacrum" % "0.10.0",
"com.github.pathikrit" %% "better-files" % "3.9.1",
"com.google.inject" % "guice" % guiceVersion,
"com.google.inject.extensions" % "guice-assistedinject" % guiceVersion,
"com.h2database" % "h2" % "1.4.196",
"com.jsuereth" %% "scala-arm" % "2.0",
"com.outr" %% "scribe" % "3.15.0",
"com.typesafe" % "config" % "1.4.3",
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % "test",
"com.typesafe.play" %% "play" % "2.8.22",
"com.typesafe.play" %% "play-ahc-ws-standalone" % playWsStandaloneVersion,
"com.typesafe.play" %% "play-iteratees" % playIterateesVersion,
"com.typesafe.play" %% "play-iteratees-reactive-streams" % playIterateesVersion,
"com.typesafe.play" %% "play-ws-standalone-json" % playWsStandaloneVersion,
"com.typesafe.slick" %% "slick" % "3.3.3",
"commons-validator" % "commons-validator" % "1.6",
"io.lemonlabs" %% "scala-uri" % "3.0.0",
"io.reactivex" %% "rxscala" % "0.26.4",
"me.tongfei" % "progressbar" % "0.9.5",
"my.net.jthink" % "jaudiotagger" % "2.2.9-SNAPSHOT",
"net.codingwell" %% "scala-guice" % "4.2.1",
"org.apache.commons" % "commons-io" % "1.3.2",
"org.apache.commons" % "commons-lang3" % "3.17.0",
"org.jsoup" % "jsoup" % "1.12.1",
"org.mockito" % "mockito-all" % "1.9.5" % "test",
"org.scala-lang.modules" %% "scala-swing" % "2.0.0",
"org.scalacheck" %% "scalacheck" % "1.13.5" % "test",
"org.scalafx" %% "scalafx" % "17.0.1-R26",
"org.scalamacros" % ("paradise_" + scalaVersionStr) % "2.1.1", // For some reason, it uses the full binary version
"org.scalatest" %% "scalatest" % "3.0.4",
"org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % "test",
"org.scalaz" %% "scalaz-concurrent" % scalazVersion,
"org.scalaz" %% "scalaz-core" % scalazVersion,
"org.xerial" % "sqlite-jdbc" % "3.32.3.2",
("org.me" %% "scalacommon" % "1.0").changing(),
)
scalacOptions += "-Ypartial-unification"
lazy val root = (project in file("."))
.enablePlugins(PlayScala, LauncherJarPlugin)
.settings(scalacOptions -= "-deprecation") // Fuck your deprecation bullshit.