This repository has been archived by the owner on Nov 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
/
build.sbt
117 lines (100 loc) · 2.98 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
import dl4j_examples_scala.builds.Libs
lazy val nd4jBackend = Libs.nd4jNativePlatform
// or Libs.nd4jCuda75Platform
// or Libs.nd4jCuda80Platform
lazy val root = project.in(file("."))
.aggregate(
`arbiter-examples`,
`datavec-examples`,
`dl4j-cuda-specific-examples`,
`dl4j-examples`,
//`dl4j-spark-examples`,
`dl4j-spark`,
`nd4j-examples`,
`rl4j-examples`
)
.settings(name := "deeplearningj4j-examples")
.settings(commonSettings:_*)
lazy val `arbiter-examples` = project.in(file("arbiter-examples"))
.settings(name := "arbiter-examples")
.settings(commonSettings:_*)
.settings(libraryDependencies ++= Seq(
Libs.arbiterDl4j,
Libs.dl4jCore,
Libs.guava,
nd4jBackend
))
lazy val `datavec-examples` = project.in(file("datavec-examples"))
.settings(name := "datavec-examples")
.settings(commonSettings:_*)
.settings(libraryDependencies ++= Seq(
Libs.datavecApi,
Libs.datavecSpark
))
lazy val `dl4j-cuda-specific-examples` = project.in(file("dl4j-cuda-specific-examples"))
.settings(name := "dl4j-cuda-specific-examples")
.settings(commonSettings:_*)
.settings(libraryDependencies ++= Seq(
Libs.guava,
Libs.dl4jCore,
Libs.dl4jNlp,
Libs.dl4jParallelWrapper,
Libs.dl4jUi,
Libs.nd4jCuda75Platform
))
lazy val `dl4j-examples` = project.in(file("dl4j-examples"))
.settings(name := "dl4j-examples")
.settings(commonSettings:_*)
.settings(libraryDependencies ++= Seq(
Libs.datavecDataCodec,
Libs.guava,
Libs.imageIOCore,
Libs.jfreeChart,
Libs.jcommon,
Libs.dl4jCore,
Libs.dl4jNlp,
Libs.dl4jUi,
Libs.httpClient,
nd4jBackend
))
/*
lazy val `dl4j-spark-examples` = project.in(file("dl4j-spark-examples"))
.settings(name := "dl4j-spark-examples")
.settings(commonSettings:_*)
.aggregate(`dl4j-spark`)
*/
lazy val `dl4j-spark` = project.in(file("dl4j-spark-examples/dl4j-spark"))
.settings(name := "dl4j-spark")
.settings(commonSettings:_*)
.settings(libraryDependencies ++= Seq(
Libs.dl4jSpark,
Libs.jCommander,
Libs.sparkCore,
nd4jBackend
))
lazy val `nd4j-examples` = project.in(file("nd4j-examples"))
.settings(name := "nd4j-examples")
.settings(commonSettings:_*)
.settings(libraryDependencies ++= Seq(
Libs.logback,
nd4jBackend
))
lazy val `rl4j-examples` = project.in(file("rl4j-examples"))
.settings(name := "rl4j-examples")
.settings(commonSettings:_*)
.settings(libraryDependencies ++= Seq(
Libs.dl4jCore,
Libs.rl4jGym,
nd4jBackend
))
lazy val commonSettings = Seq(
version := "1.0",
scalaVersion := "2.10.6",
classpathTypes += "maven-plugin",
resolvers ++= commonResolvers
)
lazy val commonResolvers = Seq(
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"Sonatype release Repository" at "http://oss.sonatype.org/service/local/staging/deploy/maven2/",
"Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository/"
)