-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
54 lines (53 loc) · 1.65 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
47
48
49
50
51
52
53
54
inThisBuild(
List(
scalaVersion := "2.12.20",
dynverSonatypeSnapshots := true,
organization := "com.coralogix",
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html")),
homepage := Some(url("https://github.com/coralogix/sbt-protodep")),
developers := List(
Developer(
"vigoo",
"Daniel Vigovszky",
url("https://www.coralogix.com")
),
Developer(
"zhrebicek",
"Zdenek Hrebicek",
url("https://www.coralogix.com")
),
Developer(
"markusa380",
"Markus Appel",
url("https://www.coralogix.com")
)
)
)
)
lazy val root = (project in file("."))
.settings(
name := "sbt-protodep",
sbtPlugin := true,
addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6"),
libraryDependencies ++= Seq(
"com.thesamet.scalapb.zio-grpc" %% "zio-grpc-codegen" % "0.5.3",
"org.apache.commons" % "commons-compress" % "1.24.0",
"dev.zio" %% "zio-test" % "2.0.19" % Test,
"dev.zio" %% "zio-test-sbt" % "2.0.19" % Test
),
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework"),
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++
Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
},
scriptedBufferLog := false,
pluginCrossBuild / sbtVersion := {
scalaBinaryVersion.value match {
case "2.12" => "1.6.2"
}
}
)
.enablePlugins(SbtPlugin)