forked from INCF/neuroshapes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
executable file
·77 lines (68 loc) · 2.88 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
/*
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))" }
]
}
*/
lazy val neuroshapes = project
.in(file("."))
.settings(
name := "neuroshapes",
moduleName := "neuroshapes"
)
.disablePlugins(ScapegoatSbtPlugin, DocumentationPlugin)
.settings(publishSettings)
inThisBuild(
List(
bintrayOmitLicense := true,
homepage := Some(url("https://github.com/INCF/neuroshapes")),
licenses := Seq("Attribution" -> url("https://github.com/INCF/neuroshapes/blob/master/LICENSE")),
developers := List(
Developer("MFSY", "Mohameth François Sy", "noreply@epfl.ch", url("https://incf.github.io/neuroshapes/")),
Developer("annakristinkaufmann", "Anna-Kristin Kaufmann", "noreply@epfl.ch", url("https://incf.github.io/neuroshapes/")),
Developer("huanxiang", "Lu Huanxiang", "noreply@epfl.ch", url("https://incf.github.io/neuroshapes/")),
Developer("apdavison", "Andrew Davison", "noreply@epfl.ch", url("https://incf.github.io/neuroshapes/")),
Developer("genric", "Ivaska Genrich", "noreply@epfl.ch", url("https://incf.github.io/neuroshapes/"))
),
scmInfo := Some(ScmInfo(url("https://github.com/INCF/neuroshapes"), "scm:git:git@https://github.com/INCF/neuroshapes.git")),
// These are the sbt-release-early settings to configure
releaseEarlyWith := BintrayPublisher,
bintrayOrganization := Some("neuroshapes"),
bintrayRepository := "maven",
organizationName := "org.neuroshapes",
releaseEarlyNoGpg := true,
releaseEarlyEnableSyncToMaven := false,
))
unmanagedResourceDirectories in Compile += baseDirectory.value / "."
packageSrc / mappings in Compile ++= (baseDirectory.value / "." * "*" get) map
(x => x -> ("shapes/" + x.getName))
lazy val noPublish = Seq(
publishLocal := {},
publish := {},
publishArtifact := false,
)
lazy val publishSettings = Seq(
bintrayOrganization := Some("neuroshapes"),
bintrayRepository := "maven"
)
addCommandAlias("review", ";clean;test")
addCommandAlias("rel", ";release with-defaults skip-tests")