-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
27 lines (22 loc) · 884 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
name := "kafka_serde"
organization := "com.punchcyber"
crossScalaVersions := Seq("2.11.12", "2.12.10", "2.13.3")
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
publishMavenStyle := true
publishTo := {
val baseurl = "https://punchcyber.jfrog.io/artifactory/"
if (isSnapshot.value)
Some("snapshots" at baseurl + "mvn-dev-local;build.timestamp=" + new java.util.Date().getTime)
else
Some("releases" at baseurl + "mvn-prod-local")
}
resolvers ++= Seq(
"PUNCH-Research" at "https://punchcyber.jfrog.io/artifactory/mvn-prod/"
)
libraryDependencies ++= Seq(
"org.apache.kafka" % "kafka-clients" % "2.5.1" % Compile,
"org.msgpack" % "msgpack-core" % "0.8.21" % Compile,
"org.scalactic" %% "scalactic" % "3.2.5" % Test,
"org.scalatest" %% "scalatest" % "3.2.5" % Test
)
releaseVersionBump := sbtrelease.Version.Bump.Minor