-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sc
51 lines (44 loc) · 1.32 KB
/
build.sc
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
import mill._
import mill.scalalib._
import coursier.maven.MavenRepository
def scalaVer = "2.12.8"
object outbreak extends ScalaModule {
def scalaVersion = scalaVer
def moduleDeps = Seq(outbreakDatabase)
def repositories = super.repositories ++ Seq(
MavenRepository("https://oss.sonatype.org/content/repositories/snapshots")
)
def ivyDeps = Agg(
ivy"com.github.ichoran::thyme:0.1.2-SNAPSHOT"
)
}
object outbreakDatabase extends ScalaModule {
def scalaVersion = scalaVer
def repositories = outbreak.repositories
def ivyDeps = Agg(
ivy"com.typesafe.slick::slick:3.3.2",
ivy"org.slf4j:slf4j-nop:1.6.4",
ivy"com.typesafe.slick::slick-hikaricp:3.3.2",
ivy"com.nrinaudo::kantan.csv:0.5.1",
ivy"org.xerial:sqlite-jdbc:3.7.2"
)
}
object importData extends ScalaModule {
def scalaVersion = scalaVer
def moduleDeps = Seq(outbreakDatabase)
def repositories = outbreakDatabase.repositories
def ivyDeps = outbreakDatabase.ivyDeps
}
object agentModel extends ScalaModule {
def scalaVersion = scalaVer
}
object sensitivity extends ScalaModule {
def scalaVersion = scalaVer
def repositories = outbreak.repositories
def moduleDeps = Seq(outbreak)
}
object gradientDescent extends ScalaModule {
def scalaVersion = scalaVer
def repositories = outbreak.repositories
def moduleDeps = Seq(outbreak)
}