-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
45 lines (38 loc) · 1.13 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
enablePlugins(SbtPlugin)
organization := "io.github.generoso"
homepage := Some(url("https://github.com/AmadeusITGroup/sbt-release-notes"))
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
developers := List(
Developer(
"generoso",
"Generoso Pagano",
url("https://generoso.github.io/")
)
)
name := "sbt-release-notes"
versionScheme := Some("semver-spec")
scalaVersion := "2.12.19"
scalacOptions := Seq(
"-encoding",
"UTF-8",
"-deprecation",
"-feature",
"-unchecked",
"-Xfuture",
"-Ypartial-unification",
"-target:jvm-1.8"
)
// sbt plugin dependencies
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0")
// scripted tests configuration
scriptedBufferLog := false
scriptedLaunchOpts ++= Seq("-Xmx1024M", "-server", "-Dplugin.version=" + version.value)
// coverage configuration
coverageFailOnMinimum := true
coverageMinimumStmtTotal := 100
coverageMinimumBranchTotal := 100
coverageExcludedPackages := ""
// sonatype releasing
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"