forked from typesafehub/zinc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
27 lines (25 loc) · 1.07 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
val sbtPatchVersion = "13"
val sbtVersionToUse = s"0.13.$sbtPatchVersion"
val zincVersion = s"0.8.$sbtPatchVersion"
val resolveSbtLocally = settingKey[Boolean]("resolve-sbt-locally")
lazy val zinc = (project in file(".")).
settings(inThisBuild(List(
organization := "com.triplequote.zinc",
version := zincVersion,
scalaVersion := "2.10.6"
)),
Version.settings,
Publish.settings,
Dist.settings,
Scriptit.settings,
crossPaths := false,
resolveSbtLocally := false,
unmanagedSourceDirectories in Compile += baseDirectory.value / "src" / "main" / "sbt-0.13.13",
libraryDependencies ++= Seq(
"com.typesafe.sbt" % "incremental-compiler" % sbtVersionToUse,
"com.typesafe.sbt" % "compiler-interface" % sbtVersionToUse classifier "sources",
"com.martiansoftware" % "nailgun-server" % "0.9.1" % "optional"
),
resolvers ++= (if (resolveSbtLocally.value) Seq(Resolver.mavenLocal) else Seq(Opts.resolver.sonatypeReleases, Opts.resolver.sonatypeSnapshots)),
scalacOptions ++= Seq("-feature", "-deprecation", "-Xlint")
)