-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcommon.sbt
More file actions
31 lines (22 loc) · 831 Bytes
/
common.sbt
File metadata and controls
31 lines (22 loc) · 831 Bytes
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
// *******************************
// Common Settings
// *******************************
organization in ThisBuild := "com.evidence"
organizationHomepage in ThisBuild := Some(url("https://www.evidence.com"))
// *******************************
// Cross-Compile Scala
// *******************************
val scala210 = "2.10.5"
val scala211 = "2.11.6"
scalaVersion in ThisBuild := scala211
crossScalaVersions in ThisBuild := Seq(scala210, scala211)
// Nexus Repo Publishing
// *******************************
credentials in ThisBuild += Credentials(Path.userHome / ".ivy2" / ".credentials")
publishTo in ThisBuild := {
val nexus = "https://nexus.taservs.net/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots/")
else
Some("releases" at nexus + "content/repositories/releases")
}