This repository has been archived by the owner on Nov 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (37 loc) · 1.53 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
val projectName = "akka-http-utils"
val akkaVersion = "2.5.13"
val akkaHttpVersion = "10.1.3"
val scalaTestVersion = "3.0.0"
val commonSettings = Seq(
organization := s"com.ulasakdeniz.$projectName",
name := projectName,
description := "akka-http utilities",
licenses := Seq("MIT" -> url("https://github.com/ulasakdeniz/akka-http-utils/blob/master/LICENSE")),
homepage := Some(url("https://github.com/ulasakdeniz/akka-http-utils")),
version := "0.2.0-SNAPSHOT",
scalaVersion := "2.12.6",
publishMavenStyle := true,
bintrayOrganization in bintray := None,
parallelExecution in Test := false,
publishArtifact in Test := false,
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
)
lazy val akkaHttpUtils = (project in file("."))
.enablePlugins(GitVersioning)
.settings(commonSettings: _*)
.aggregate(auth)
lazy val auth = (project in file("auth"))
.settings(commonSettings: _*)
.settings(publishArtifact := true)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-stream-testkit" % akkaVersion % "test",
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion,
"org.scalatest" %% "scalatest" % scalaTestVersion % "test",
"org.mockito" % "mockito-core" % "1.10.19" % "test"
)
)
.settings(name := "auth")