forked from sbt/sbt-jacoco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
executable file
·57 lines (49 loc) · 1.92 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
name := "sbt-jacoco"
organization := "com.github.matusmak"
version in ThisBuild := "3.2.1"
sbtPlugin := true
crossSbtVersions := Seq("0.13.17")
val jacocoVersion = "0.8.6"
val circeVersion = "0.8.0"
libraryDependencies ++= Seq(
"org.jacoco" % "org.jacoco.core" % jacocoVersion,
"org.jacoco" % "org.jacoco.report" % jacocoVersion,
"com.jsuereth" %% "scala-arm" % "2.0",
"com.fasterxml.jackson.core" % "jackson-core" % "2.9.6",
"org.scalaj" %% "scalaj-http" % "2.4.0",
"commons-codec" % "commons-codec" % "1.11",
"org.eclipse.jgit" % "org.eclipse.jgit" % "4.11.0.201803080745-r",
"org.scalatest" %% "scalatest" % "3.0.5" % Test,
"org.mockito" % "mockito-all" % "1.10.19" % Test
)
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-feature",
"-Xfuture",
"-Ywarn-adapted-args",
"-Ywarn-dead-code")
enablePlugins(BuildInfoPlugin)
buildInfoPackage := "com.github.sbt.jacoco.build"
buildInfoKeys := Seq[BuildInfoKey](
resourceDirectory in Test,
version,
"jacocoVersion" -> jacocoVersion,
"sbtVersion" -> (sbtVersion in pluginCrossBuild).value
)
licenses += (("Eclipse Public License v1.0", url("http://www.eclipse.org/legal/epl-v10.html")))
headerLicense := Some(HeaderLicense.Custom(
"""|This file is part of sbt-jacoco.
|
|Copyright (c) Joachim Hofer & contributors
|All rights reserved.
|
|This program and the accompanying materials
|are made available under the terms of the Eclipse Public License v1.0
|which accompanies this distribution, and is available at
|http://www.eclipse.org/legal/epl-v10.html
|""".stripMargin
))
enablePlugins(ParadoxSitePlugin, GhpagesPlugin)
paradoxNavigationDepth in Paradox := 3
git.remoteRepo := "git@github.com:sbt/sbt-jacoco.git"