|
| 1 | +organization := "net.sansa-stack" |
| 2 | + |
| 3 | +name := "sansa-inference-flink" |
| 4 | + |
| 5 | +val projectVersion = "0.1.0-SNAPSHOT" |
| 6 | +val flinkVersion = "1.1.3" |
| 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 | +libraryDependencies ++= Seq( |
| 41 | + "net.sansa-stack" % "sansa-inference-common" % projectVersion, |
| 42 | + "net.sansa-stack" % "sansa-inference-tests" % projectVersion % "test", |
| 43 | + "org.apache.flink" %% "flink-scala" % flinkVersion, |
| 44 | + "org.apache.flink" %% "flink-streaming-scala" % flinkVersion, |
| 45 | + "org.apache.flink" %% "flink-clients" % flinkVersion, |
| 46 | + "org.apache.flink" %% "flink-test-utils" % flinkVersion % "test", |
| 47 | + "org.apache.jena" % "jena-core" % jenaVersion, |
| 48 | + "org.apache.jena" % "jena-arq" % jenaVersion, |
| 49 | + "com.typesafe.scala-logging" %% "scala-logging" % "3.5.0", |
| 50 | + "com.google.guava" % "guava" % "19.0", |
| 51 | + "com.github.scopt" %% "scopt" % "3.2.0", |
| 52 | + "org.scalatest" %% "scalatest" % "3.0.1" % "test" withSources(), |
| 53 | + "junit" % "junit" % "4.12" % "test" |
| 54 | +) |
| 55 | + |
| 56 | +logLevel := Level.Warn |
| 57 | + |
| 58 | +// Only show warnings and errors on the screen for compilations. |
| 59 | +// This applies to both test:compile and compile and is Info by default |
| 60 | +logLevel in compile := Level.Warn |
| 61 | + |
| 62 | +// Level.INFO is needed to see detailed output when running tests |
| 63 | +logLevel in test := Level.Info |
| 64 | + |
| 65 | +// define the statements initially evaluated when entering 'console', 'console-quick', but not 'console-project' |
| 66 | +initialCommands in console := """ |
| 67 | + |""".stripMargin |
| 68 | + |
| 69 | +cancelable := true |
0 commit comments