forked from sbt/sbt-rjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
36 lines (24 loc) · 904 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
sbtPlugin := true
organization := "com.typesafe.sbt"
name := "sbt-rjs"
version := "1.0.8-SNAPSHOT"
scalaVersion := "2.10.4"
scalacOptions += "-feature"
libraryDependencies ++= Seq(
"org.webjars" % "rjs" % "2.1.15"
)
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.1")
publishMavenStyle := false
publishTo := {
if (isSnapshot.value) Some(Classpaths.sbtPluginSnapshots)
else Some(Classpaths.sbtPluginReleases)
}
scriptedSettings
scriptedLaunchOpts <+= version apply { v => s"-Dproject.version=$v" }