-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
29 lines (28 loc) · 987 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
import Dependencies._
lazy val sbtSchemaRegistryPlugin = (project in file("."))
.enablePlugins(SbtPlugin, GitVersioning)
.settings(
name := "sbt-schema-registry-plugin",
scalaVersion := "2.12.17",
sbtPlugin := true,
pluginCrossBuild / sbtVersion := "1.8.2",
resolvers ++= Seq("Confluent" at "https://packages.confluent.io/maven/"),
libraryDependencies ++= Seq(schemaRegistryClient),
scriptedLaunchOpts ++= Seq(
"-Xmx1024M",
"-Dplugin.version=" + version.value,
),
scriptedBufferLog := false,
scalacOptions ++= Seq(
"-encoding",
"UTF-8", // Option and arguments on same line
"-Xfatal-warnings", // New lines for each options
"-deprecation",
"-feature",
"-unchecked",
"-language:implicitConversions",
"-language:higherKinds",
"-language:existentials",
"-language:postfixOps",
),
)