-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
build.sbt
45 lines (33 loc) · 1.05 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
name := "sbt-protoc"
description := "SBT plugin for generating code from Protocol Buffer using protoc"
scalacOptions := Seq("-deprecation", "-unchecked", "-Xlint", "-Yno-adapted-args")
scalacOptions += "-release:8"
scalaVersion := "2.12.20"
addSbtPlugin("org.portable-scala" % "sbt-platform-deps" % "1.0.1")
libraryDependencies ++= Seq(
"com.thesamet.scalapb" %% "protoc-bridge" % "0.9.7"
)
enablePlugins(SbtPlugin)
scriptedBufferLog := false
scriptedLaunchOpts += s"-Dplugin.version=${version.value}"
// https://github.com/sbt/sbt/issues/5049#issuecomment-538404839
pluginCrossBuild / sbtVersion := "1.2.8"
sonatypeProfileName := "com.thesamet"
inThisBuild(
List(
organization := "com.thesamet",
homepage := Some(url("https://github.com/thesamet/sbt-protoc")),
licenses := List(
"Apache-2.0" ->
url("http://www.apache.org/licenses/LICENSE-2.0")
),
developers := List(
Developer(
"thesamet",
"Nadav Samet",
url("https://www.thesamet.com")
)
)
)
)