forked from stripe-archive/sbt-bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
36 lines (32 loc) · 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
import sbt.ScriptedPlugin.{autoImport => ScriptedKeys}
lazy val root = (project in file("."))
.aggregate(plugin)
lazy val commonSettings = Seq(
organization := "com.stripe",
scalaVersion := "2.12.4",
version := "0.0.1-SNAPSHOT"
)
lazy val plugin = project
.in(file("plugin"))
.enablePlugins(ScriptedPlugin)
.settings(
ScriptedKeys.scriptedBufferLog := false,
ScriptedKeys.scriptedLaunchOpts := {
ScriptedKeys.scriptedLaunchOpts.value ++
Seq("-Xmx2048M", "-Dplugin.version=" + Keys.version.value)
})
.settings(commonSettings)
.settings(name := "sbt-bazel")
.settings(sbtPlugin := true)
.settings(libraryDependencies ++= Seq(
deps.cats,
deps.catsEffect,
deps.paiges,
deps.scalacheck % Test
))
lazy val deps = new {
val cats = "org.typelevel" %% "cats-core" % "1.1.0"
val catsEffect = "org.typelevel" %% "cats-effect" % "0.10"
val paiges = "org.typelevel" %% "paiges-core" % "0.2.1"
val scalacheck = "org.scalacheck" %% "scalacheck" % "1.13.4"
}