This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathbuild.sbt
executable file
·61 lines (47 loc) · 2.17 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
55
56
57
58
59
60
61
// Copyright (c) Microsoft. All rights reserved.
val iotHubKafkaConnectVersion = "0.7.0"
name := "kafka-connect-iothub"
organization := "com.microsoft.azure.iot"
version := iotHubKafkaConnectVersion
scalaVersion := "2.11.8"
scalacOptions ++= Seq("-deprecation", "-explaintypes", "-unchecked", "-feature")
libraryDependencies ++= {
val kafkaVersion = "0.10.2.1"
val azureEventHubSDKVersion = "1.0.0"
val scalaLoggingVersion = "3.5.0"
val logbackClassicVersion = "1.1.7"
val scalaTestVersion = "3.0.0"
val configVersion = "1.3.1"
val json4sVersion = "3.5.0"
val iotHubServiceClientVersion = "1.4.22"
Seq(
"org.apache.kafka" % "connect-api" % kafkaVersion % "provided",
"org.apache.kafka" % "connect-json" % kafkaVersion % "provided",
"ch.qos.logback" % "logback-classic" % logbackClassicVersion % "provided",
"com.microsoft.azure" % "azure-eventhubs" % azureEventHubSDKVersion,
"org.json4s" %% "json4s-jackson" % json4sVersion,
"com.typesafe.scala-logging" %% "scala-logging" % scalaLoggingVersion,
"com.microsoft.azure.sdk.iot" % "iot-service-client" % iotHubServiceClientVersion,
// Test dependencies
"org.scalatest" %% "scalatest" % scalaTestVersion % "test",
"com.typesafe" % "config" % configVersion % "test"
)
}
assemblyJarName in assembly := s"kafka-connect-iothub-assembly_2.11-$iotHubKafkaConnectVersion.jar"
publishArtifact in Test := true
publishArtifact in(Compile, packageDoc) := true
publishArtifact in(Compile, packageSrc) := true
publishArtifact in(Compile, packageBin) := true
fork in run := true
licenses += ("MIT", url("https://github.com/Azure/toketi-kafka-connect-iothub/blob/master/LICENSE"))
publishMavenStyle := true
// Bintray: Organization > Repository > Package > Version
bintrayOrganization := Some("microsoftazuretoketi")
bintrayRepository := "toketi-repo"
bintrayPackage := "kafka-connect-iothub"
bintrayReleaseOnPublish in ThisBuild := true
// Required in Sonatype
pomExtra :=
<url>https://github.com/Azure/toketi-kafka-connect-iothub</url>
<scm><url>https://github.com/Azure/toketi-kafka-connect-iothub</url></scm>
<developers><developer><id>microsoft</id><name>Microsoft</name></developer></developers>