-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
44 lines (40 loc) · 1.2 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
import Dependencies._
sbtPlugin := true
version := "0.1.4"
organization := "io.github.todokr"
organizationName := "todokr"
name := "sbt-project-switcher"
scalacOptions += "-feature"
lazy val root = (project in file("."))
.settings(
name := "sbt-project-switcher",
libraryDependencies += scalaTest % Test
)
description := "A sbt plugin to switch project in a snappy way⚡️"
licenses := List("MIT" -> new URL("https://opensource.org/licenses/MIT"))
homepage := Some(url("https://github.com/todokr/sbt-project-switcher"))
developers := List(
Developer(
id = "todokr",
name = "Shunsuke Tadokoro",
email = "[email protected]",
url = url("https://github.com/todokr")
)
)
scmInfo := Some(
ScmInfo(
url("https://github.com/todokr/sbt-project-switcher"),
"scm:[email protected]:todokr/sbt-project-switcher.git"
)
)
pomIncludeRepository := { _ =>
false
}
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")
}
publishMavenStyle := true
//credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credential")