This repository was archived by the owner on Nov 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.sbt
More file actions
42 lines (34 loc) · 1.28 KB
/
build.sbt
File metadata and controls
42 lines (34 loc) · 1.28 KB
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
42
import sbt._
import sbt.Keys._
import Dependencies._
name := "ML Learning tutorial"
version in ThisBuild := "0.1"
scalaVersion in ThisBuild := "2.12.10"
scalacOptions in ThisBuild := Seq("-Xexperimental", "-unchecked", "-deprecation", "-feature")
javaOptions in ThisBuild := Seq("Xlint:unchecked")
lazy val atlasclient = (project in file("./AtlasClient"))
.settings(libraryDependencies ++= atlasDependencies)
lazy val tensorflowakka = (project in file("./TensorFlowAkka"))
.enablePlugins(CloudflowAkkaStreamsApplicationPlugin)
.settings(
libraryDependencies ++= Seq(tensorFlow, tensorFlowProto, logback, scalaTest),
name := "tensorflow-akka",
organization := "com.lightbend.cloudflow",
scalaVersion := "2.12.10",
crossScalaVersions := Vector(scalaVersion.value),
scalacOptions ++= Seq(
"-encoding", "UTF-8",
"-target:jvm-1.8",
"-Xlog-reflective-calls",
"-Xlint",
"-Ywarn-unused",
"-Ywarn-unused-import",
"-deprecation",
"-feature",
"-language:_",
"-unchecked"
),
runLocalConfigFile := Some("src/main/resources/local.conf"),
scalacOptions in (Compile, console) --= Seq("-Ywarn-unused", "-Ywarn-unused-import"),
scalacOptions in (Test, console) := (scalacOptions in (Compile, console)).value,
)