-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
29 lines (22 loc) · 924 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 sbt._
import Keys._
import sbtassembly.AssemblyPlugin.autoImport._
name := "MongoDB2OrientDB"
version := "1.0-SNAPSHOT"
organization := "uit.islab"
scalaVersion := "2.12.0"
libraryDependencies ++= Seq(
"com.orientechnologies" % "orientdb-graphdb" % "2.2.12" % "provided",
"com.orientechnologies" % "orientdb-core" % "2.2.12" % "provided",
"com.googlecode.concurrentlinkedhashmap" % "concurrentlinkedhashmap-lru" % "1.4.1" % "provided",
"com.tinkerpop.blueprints" % "blueprints-core" % "2.6.0" % "provided",
"org.mongodb" % "mongo-java-driver" % "3.3.0" % "provided",
"org.mongodb" % "mongodb-driver-core" % "3.3.0" % "provided"
)
unmanagedBase <<= baseDirectory { base => base / "libs" }
assemblyJarName in assembly := name.value+"-"+version.value+".jar"
mainClass in assembly := Some("main.scala.MongoDB2OrientDB")
Keys.fork := true
javaOptions in run ++= Seq(
"-XX:MaxDirectMemorySize=3826m"
)