-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
41 lines (28 loc) · 1.24 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
name := "mongodb"
version := "1.0.1"
scalaVersion := "2.11.7"
lazy val versions = new {
val mongoScalaDriver = "1.1.0"
val mongoJavaDriver = "3.2.1"
val mongoJavaDriverAsync = "3.2.1"
val liftMongoRecorder = "3.0-M8"
}
libraryDependencies ++= Seq(
"org.mongodb.scala" %% "mongo-scala-driver" % versions.mongoScalaDriver,
// "net.liftweb" %% "lift-mongodb-record" % versions.liftMongoRecorder,
// "org.mongodb" % "mongodb-driver" % versions.mongoJavaDriver,
// "org.mongodb" % "mongodb-driver-async" % versions.mongoJavaDriverAsync,
// "com.typesafe.akka" %% "akka-actor" % versions.akkaActor,
"io.reactivex" %% "rxscala" % "0.26.2",
//json
"net.liftweb" %% "lift-json" % versions.liftMongoRecorder,
"com.scalachan" %% "rxsocket" % "0.9.7"
)
//手动管理依赖
//val baseDir: File = baseDirectory.value
unmanagedBase := baseDirectory.value / "mylib"
//assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = false)
assemblyJarName in assembly := "ServerMongoWithModel.jar"
mainClass in assembly := Some(" unlimited_works.mongodb.start.ServerMongoWithModel")
//assemblyJarName in assembly := "MongoServerBareCRUD.jar"
//mainClass in assembly := Some("unlimited_works.mongodb.start.MongoServerBareCRUD")