-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.sbt
32 lines (21 loc) · 914 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
sbtPlugin := true
organization := "net.matthewrennie.sbt"
name := "sbt-autoprefixer"
version := "0.1.0-SNAPSHOT"
scalaVersion := "2.10.4"
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/",
"Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository"
)
addSbtPlugin("com.typesafe.sbt" %% "sbt-js-engine" % "1.1.2")
publishMavenStyle := false
publishTo := {
if (isSnapshot.value) Some(Classpaths.sbtPluginSnapshots)
else Some(Classpaths.sbtPluginReleases)
}
scriptedSettings
scriptedBufferLog := false
scriptedLaunchOpts <+= version apply { v => s"-Dproject.version=$v" }