-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sc
55 lines (49 loc) · 1.44 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
52
53
54
55
// build.sc
import mill._, scalalib._
object root extends ScalaModule {
def scalaVersion = "2.12.10"
override def moduleDeps = Seq(core, util) ++ x
}
object core extends ScalaModule {
def scalaVersion = "2.12.10"
override def ivyDeps = Agg(
ivy"org.apache.spark::spark-core:2.4.4"
)
}
object util extends ScalaModule {
def scalaVersion = "2.12.10"
override def ivyDeps = Agg(
ivy"org.apache.spark::spark-core:2.4.4"
)
}
object x1 extends MyScalaModule
object x2 extends MyScalaModule
object x3 extends MyScalaModule
object x4 extends MyScalaModule
object x5 extends MyScalaModule
object x6 extends MyScalaModule
object x7 extends MyScalaModule
object x8 extends MyScalaModule
object x9 extends MyScalaModule
object x10 extends MyScalaModule
object x11 extends MyScalaModule
object x12 extends MyScalaModule
object x13 extends MyScalaModule
object x14 extends MyScalaModule
object x15 extends MyScalaModule
object x16 extends MyScalaModule
object x17 extends MyScalaModule
object x18 extends MyScalaModule
object x19 extends MyScalaModule
object x20 extends MyScalaModule
lazy val x = Seq(x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17,x18,x19,x20)
trait MyScalaModule extends ScalaModule {
def scalaVersion = "2.12.10"
override def moduleDeps = Seq(core, util)
}
// Project(s"x$i", file(s"modules/module$i"))
// .settings(
// name := s"x$i",
// )
// .settings(csrConfigurationSettings())
// .dependsOn(core, util)