-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.sbt
48 lines (40 loc) · 1.4 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
// Build file copyright (c) 2016 by Rex Kerr, HHMI Janelia, UCSF and Calico
// Life Sciences.
/////////////////////////////////
// Sonatype publishing section //
/////////////////////////////////
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
pomExtra := (
<url>http://www.github.com/ichoran</url>
<licenses>
<license>
<name>BSD 3-clause</name>
<url>https://opensource.org/licenses/BSD-3-Clause</url>
<distribution>repo</distribution>
<comments>Copyright 2013, 2016 by Rex Kerr, HHMI Janelia, UC San Francisco, and Calico Life Sciences.</comments>
</license>
</licenses>
<scm>
<url>git@github.com:ichoran/thyme.git</url>
<connection>scm:git:git@github.com:ichoran/thyme.git</connection>
</scm>
<developers>
<developer><id>ichoran</id><name>Rex Kerr</name></developer>
</developers>
)
////////////////////////
// Main build section //
////////////////////////
lazy val thyme = (project in file(".")).settings(
name := "thyme",
version := "0.1.2-SNAPSHOT",
scalaVersion := "2.12.0",
organization := "com.github.ichoran",
unmanagedSourceDirectories in Compile := {val b = baseDirectory.value; Seq(b / "maths", b / "bench")}
)