如果使用 scala gremlin,这将是构建文件
scalaVersion := "2.11.8"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "2.1.1",
"org.apache.spark" %% "spark-sql" % "2.1.1",
"org.apache.spark" % "spark-streaming_2.11" % "2.1.1",
"org.apache.spark" % "spark-streaming-kafka-0-10_2.11" % "2.1.1",
"org.janusgraph" % "janusgraph-core" % "0.1.1",
"org.janusgraph" % "janusgraph-es" % "0.1.1",
"com.amazonaws" % "dynamodb-janusgraph-storage-backend" % "1.1.0",
"com.michaelpollmeier" % "gremlin-scala_2.11" % "3.2.5.1",
"com.tinkerpop.blueprints" % "blueprints-core" % "2.6.0",
"org.scalactic" %% "scalactic" % "3.0.0",
"org.scalatest" %% "scalatest" % "3.0.0"
)
resolvers ++= Seq(
Resolver.mavenLocal,
"jitpack" at "https://jitpack.io",
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots")
)
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)