-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
52 lines (42 loc) · 1.62 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
name := "kafka-actors"
version := "0.3.0-SNAPSHOT"
organization := "net.liftmodules"
scalaVersion := "2.12.6"
crossScalaVersions := Seq("2.11.11", "2.12.6")
val liftVersion = settingKey[String]("Lift Web Framework full version number")
val liftEdition = settingKey[String]("Lift Edition (such as 2.6 or 3.0)")
val kafkaVersion = settingKey[String]("Version of Kafka")
liftVersion := "3.3.0"
liftEdition := (liftVersion.apply(_.substring(0,3))).value
kafkaVersion := "1.1.1"
moduleName := name.value + "_" + liftEdition.value
libraryDependencies := Seq(
"net.liftweb" %% "lift-actor" % liftVersion.value % "provided",
"net.liftweb" %% "lift-json" % liftVersion.value % "provided",
"org.apache.kafka" % "kafka-clients" % kafkaVersion.value,
"org.scalactic" %% "scalactic" % "3.0.4" % "test",
"org.scalatest" %% "scalatest" % "3.0.4" % "test",
"ch.qos.logback" % "logback-classic" % "1.2.2" % "test"
)
scalacOptions ++= Seq("-unchecked", "-deprecation")
pomExtra := {
<url>https://github.com/liftmodules/json-extractor-ng</url>
<licenses>
<license>
<name>Apache 2.0 License</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:liftmodules/json-extractor-ng.git</url>
<connection>scm:git:[email protected]:liftmodules/json-extractor-ng.git</connection>
</scm>
<developers>
<developer>
<id>liftmodules</id>
<name>Lift Team</name>
<url>http://www.liftmodules.net</url>
</developer>
</developers>
}