-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
45 lines (27 loc) · 982 Bytes
/
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
//import bintray.Keys._
sbtPlugin := true
organization := "com.bicou.sbt"
name := "sbt-hbs"
version := "1.0.8"
scalaVersion := "2.10.4"
resolvers += Resolver.typesafeRepo("releases")
libraryDependencies ++= Seq(
"org.webjars" % "mkdirp" % "0.5.0"
)
addSbtPlugin("com.typesafe.sbt" %% "sbt-js-engine" % "1.0.2")
//publishMavenStyle := false
//bintraySettings
//repository in bintray := "sbt-plugins"
//bintrayOrganization in bintray := None
licenses += ("MIT", url("http://opensource.org/licenses/MIT"))
scriptedSettings
//scriptedBufferLog := false
//scriptedLaunchOpts += ("-Dproject.version=" + version.value )
publishTo <<= version { v: String =>
val nexus = "https://dev.bmd-software.com/nexus/"
if (v.trim.endsWith("SNAPSHOT"))
Some("Public (Snapshots)" at nexus + "content/repositories/snapshots")
else
Some("Public (Releases)" at nexus + "content/repositories/releases")
}
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")