-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
46 lines (29 loc) · 1.1 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
import bintray.Keys._
sbtPlugin := true
organization := "com.typesafe.sbt"
name := "sbt-traceur"
version := "1.0.1"
licenses += ("MIT", url("https://github.com/arielscarpinelli/sbt-traceur/blob/master/LICENSE"))
scalaVersion := "2.10.4"
scalacOptions += "-feature"
libraryDependencies ++= Seq(
"org.webjars" % "traceur" % "0.0.79-1"
)
resolvers ++= Seq(
"Typesafe Releases Repository" at "http://repo.typesafe.com/typesafe/releases/",
Resolver.url("sbt snapshot plugins", url("http://repo.scala-sbt.org/scalasbt/sbt-plugin-snapshots"))(Resolver.ivyStylePatterns),
Resolver.sonatypeRepo("snapshots"),
"Typesafe Snapshots Repository" at "http://repo.typesafe.com/typesafe/snapshots/",
Resolver.mavenLocal
)
addSbtPlugin("com.typesafe.sbt" % "sbt-js-engine" % "1.0.2")
publishMavenStyle := false
publishTo := {
if (isSnapshot.value) Some(Classpaths.sbtPluginSnapshots)
else Some(Classpaths.sbtPluginReleases)
}
bintrayPublishSettings
repository in bintray := "sbt-plugins"
bintrayOrganization in bintray := None
scriptedSettings
scriptedLaunchOpts <+= version apply { v => s"-Dproject.version=$v" }