forked from BlueBrain/sbt-nexus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
60 lines (56 loc) · 2.63 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
/*
scalafmt: {
style = defaultWithAlign
maxColumn = 150
align.tokens = [
{ code = "=>", owner = "Case" }
{ code = "?", owner = "Case" }
{ code = "extends", owner = "Defn.(Class|Trait|Object)" }
{ code = "//", owner = ".*" }
{ code = "{", owner = "Template" }
{ code = "}", owner = "Template" }
{ code = ":=", owner = "Term.ApplyInfix" }
{ code = "++=", owner = "Term.ApplyInfix" }
{ code = "+=", owner = "Term.ApplyInfix" }
{ code = "%", owner = "Term.ApplyInfix" }
{ code = "%%", owner = "Term.ApplyInfix" }
{ code = "%%%", owner = "Term.ApplyInfix" }
{ code = "->", owner = "Term.ApplyInfix" }
{ code = "?", owner = "Term.ApplyInfix" }
{ code = "<-", owner = "Enumerator.Generator" }
{ code = "?", owner = "Enumerator.Generator" }
{ code = "=", owner = "(Enumerator.Val|Defn.(Va(l|r)|Def|Type))" }
]
}
*/
// Main plugin settings
organization := "ch.epfl.bluebrain.nexus"
name := "sbt-nexus"
sbtPlugin := true
dependencyBlacklist := moduleFilter(NothingFilter, NothingFilter, NothingFilter)
// Build publish settings
inThisBuild(
List(
homepage := Some(url("https://github.com/BlueBrain/sbt-nexus")),
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
scmInfo := Some(ScmInfo(url("https://github.com/BlueBrain/sbt-nexus"), "scm:git:[email protected]:BlueBrain/sbt-nexus.git")),
developers := List(
Developer("bogdanromanx", "Bogdan Roman", "[email protected]", url("https://bluebrain.github.io/nexus")),
Developer("hygt", "Henry Genet", "[email protected]", url("https://bluebrain.github.io/nexus")),
Developer("umbreak", "Didac Montero Mendez", "[email protected]", url("https://bluebrain.github.io/nexus")),
Developer("wwajerowicz", "Wojtek Wajerowicz", "[email protected]", url("https://bluebrain.github.io/nexus"))
),
// These are the sbt-release-early settings to configure
releaseEarlyWith := BintrayPublisher,
releaseEarlyNoGpg := true,
releaseEarlyEnableSyncToMaven := false
)
)
// Additional plugins to introduce to projects using this plugin
addSbtPlugin("ch.epfl.scala" % "sbt-release-early" % "2.1.1")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.2.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.4.0")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
addSbtPlugin("com.sksamuel.scapegoat" % "sbt-scapegoat" % "1.1.0")
addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.6.7")
addCommandAlias("review", ";clean;scalafmtCheck;scalafmtSbtCheck;compile")