|
| 1 | +organization := "net.sansa-stack" |
| 2 | + |
| 3 | +name := "sansa-inference-spark" |
| 4 | + |
| 5 | +val projectVersion = "0.1.0-SNAPSHOT" |
| 6 | +val sparkVersion = "2.0.2" |
| 7 | +val jenaVersion = "3.1.1" |
| 8 | + |
| 9 | +scalaVersion := "2.11.8" |
| 10 | + |
| 11 | +scalacOptions ++= Seq( |
| 12 | + "-deprecation", |
| 13 | + "-encoding", "UTF-8", |
| 14 | + "-feature", |
| 15 | + "-target:jvm-1.8", |
| 16 | + "-unchecked", |
| 17 | + "-Ywarn-adapted-args", |
| 18 | + "-Ywarn-dead-code", |
| 19 | + "-Ywarn-numeric-widen", |
| 20 | + "-Ywarn-unused", |
| 21 | + "-Ywarn-value-discard", |
| 22 | + "-Xfuture", |
| 23 | + "-Xlint" |
| 24 | +) |
| 25 | + |
| 26 | +javacOptions ++= Seq( |
| 27 | + "-Xlint:deprecation", |
| 28 | + "-Xlint:unchecked", |
| 29 | + "-source", "1.8", |
| 30 | + "-target", "1.8", |
| 31 | + "-g:vars" |
| 32 | +) |
| 33 | + |
| 34 | +resolvers ++= Seq( |
| 35 | + "apache-snapshots" at "http://repository.apache.org/snapshots/", |
| 36 | + "AKSW Snapshots" at "http://maven.aksw.org/archiva/repository/snapshots", |
| 37 | + Resolver.mavenLocal |
| 38 | +) |
| 39 | + |
| 40 | + |
| 41 | +libraryDependencies ++= Seq( |
| 42 | + "net.sansa-stack" % "sansa-inference-common" % projectVersion, |
| 43 | + "net.sansa-stack" % "sansa-inference-tests" % projectVersion % "test", |
| 44 | + "net.sansa-stack" % "sansa-rdf-spark-core" % projectVersion, |
| 45 | + "net.sansa-stack" % "sansa-rdf-partition-core" % projectVersion, |
| 46 | + "net.sansa-stack" % "sansa-query-spark-sparqlify" % projectVersion, |
| 47 | + "org.aksw.jena-sparql-api" % "jena-sparql-api-server-standalone" % "3.1.1-1-SNAPSHOT", |
| 48 | + "org.scala-lang" % "scala-library" % "2.11.8", |
| 49 | + "org.apache.spark" %% "spark-core" % sparkVersion, |
| 50 | + "org.apache.spark" %% "spark-sql" % sparkVersion, |
| 51 | + "com.chuusai" %% "shapeless" % "2.3.0", |
| 52 | + "org.apache.jena" % "jena-core" % jenaVersion, |
| 53 | + "org.apache.jena" % "jena-arq" % jenaVersion, |
| 54 | + "com.assembla.scala-incubator" %% "graph-core" % "1.11.0", |
| 55 | + "com.assembla.scala-incubator" %% "graph-dot" % "1.11.0", |
| 56 | + "org.jgrapht" % "jgrapht-core" % "1.0.0", |
| 57 | + "org.jgrapht" % "jgrapht-ext" % "1.0.0", |
| 58 | + "org.gephi" % "gephi-toolkit" % "0.9.1", |
| 59 | + "junit" % "junit" % "4.12", |
| 60 | + "org.scalatest" %% "scalatest" % "3.0.1", |
| 61 | + "com.holdenkarau" %% "spark-testing-base" % "2.0.0_0.4.4" % "test", |
| 62 | + "com.typesafe.scala-logging" %% "scala-logging" % "3.5.0", |
| 63 | + "com.github.scopt" %% "scopt" % "3.5.0", |
| 64 | + //"com.github.nscala-time" %% "nscala-time" % "1.8.0" withSources(), |
| 65 | + "org.scalatest" %% "scalatest" % "3.0.0" % "test" withSources(), |
| 66 | + "junit" % "junit" % "4.12" % "test" |
| 67 | +) |
| 68 | + |
| 69 | +logLevel := Level.Warn |
| 70 | + |
| 71 | +// Only show warnings and errors on the screen for compilations. |
| 72 | +// This applies to both test:compile and compile and is Info by default |
| 73 | +logLevel in compile := Level.Warn |
| 74 | + |
| 75 | +// Level.INFO is needed to see detailed output when running tests |
| 76 | +logLevel in test := Level.Info |
| 77 | + |
| 78 | +// define the statements initially evaluated when entering 'console', 'console-quick', but not 'console-project' |
| 79 | +initialCommands in console := """ |
| 80 | + |""".stripMargin |
| 81 | + |
| 82 | +cancelable := true |
0 commit comments