-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
87 lines (66 loc) · 2.66 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
81
82
83
84
85
86
87
import sbt.Keys.name
import sbt.Test
Global / scalaVersion := "2.13.8"
Global / organization := "io.github.givesocialmovement"
name := "play-moonlight"
version := "1.1.3"
lazy val macros = (project in file("macros"))
.settings(
version := "1.1.0",
name := "play-moonlight-macros",
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
Dependencies.quartz
),
publishMavenStyle := true,
Test / publishArtifact := false,
publishTo := sonatypePublishToBundle.value
)
lazy val moonlight = (project in file("."))
.dependsOn(macros)
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-slick" % "5.0.0" withSources () withJavadoc (),
"com.typesafe.play" %% "play-guice" % "2.8.15" withSources () withJavadoc (),
"com.google.inject" % "guice" % "5.1.0",
"org.postgresql" % "postgresql" % "42.2.14" withSources () withJavadoc (),
"com.typesafe.play" %% "play-json" % "2.8.1",
"io.netty" % "netty-common" % "4.1.76.Final",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.13.4",
"io.dropwizard" % "dropwizard-metrics-graphite" % "2.1.4",
Dependencies.quartz,
"com.typesafe.play" %% "play-slick-evolutions" % "5.0.0" % Test,
"org.mockito" % "mockito-core" % "2.18.3" % Test,
"com.lihaoyi" %% "utest" % "0.7.10" % Test,
"org.mockito" %% "mockito-scala-scalatest" % "1.17.5" % Test,
"org.apache.logging.log4j" % "log4j-slf4j-impl" % "2.17.2" % Test,
"com.h2database" % "h2" % "2.1.210" % Test,
"org.scalatest" %% "scalatest" % "3.2.11" % Test
)
Test / parallelExecution := false
bintrayOrganization := Some("givers")
bintrayRepository := "maven"
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
pomIncludeRepository := { _ => false }
Global / homepage := Some(url("https://github.com/GIVESocialMovement/moonlight"))
Global / scmInfo := Some(
ScmInfo(
url("https://github.com/GIVESocialMovement/moonlight"),
"scm:[email protected]:GIVESocialMovement/moonlight.git"
)
)
Global / developers := List(
Developer(id = "tanin", name = "tanin", email = "[email protected]", url = url("https://github.com/tanin47"))
)
Global / licenses := Seq(("MIT", url("http://opensource.org/licenses/MIT")))
testFrameworks += new TestFramework("utest.runner.Framework")
publishMavenStyle := true
Test / publishArtifact := false
publishTo := sonatypePublishToBundle.value
coverageFailOnMinimum := false
coverageMinimumStmtTotal := 70
coverageMinimumBranchTotal := 70
coverageMinimumStmtPerPackage := 70
coverageMinimumBranchPerPackage := 70
coverageMinimumStmtPerFile := 70
coverageMinimumBranchPerFile := 70
coverageExcludedFiles := ".*MoonlightApplication;.*MoonlightSettings"