-
Notifications
You must be signed in to change notification settings - Fork 33
/
build.sbt
114 lines (90 loc) · 4.26 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
import sbt._
Global / onChangedBuildSource := ReloadOnSourceChanges
lazy val `pi_cluster_master` = (project in file("."))
.aggregate(
core,
`exercise_000_initial_state`,
`exercise_001_cluster_base`,
`exercise_002_cluster_weakly_up`,
`exercise_003_cluster_singleton`,
`exercise_004_cluster_weakly_up_disabled`,
`exercise_005_cluster_akka_bootstrap_discovery_via_config`,
`exercise_006_cluster_akka_bootstrap_discovery_via_akka_dns`,
`exercise_007_cluster_split_brain_resolver_keep_majority`,
`exercise_008_cluster_split_brain_resolver_static_quorum`,
`exercise_010_split_brain_resolver_keep_oldest`,
`exercise_011_split_brain_resolver_down_all`,
`exercise_012_clustered_sudoku_solver`,
`exercise_014_add_cluster_client`,
`exercise_015_clustered_sudoku_solver_cluster_client_enabled`,
`exercise_017_es_opentracing`,
`exercise_018_es_classic_console`,
`exercise_101_display_cluster_status`,
`exercise_102_display_cluster_sharding`,
`exercise_103_display_cluster_crdt`
)
.settings(ThisBuild / scalaVersion := Version.scalaVersion)
.settings(CommonSettings.commonSettings: _*)
lazy val core = project
.settings(CommonSettings.commonSettings: _*)
lazy val core_eroled = project
.settings(CommonSettings.commonSettings: _*)
.settings(libraryDependencies ++= Dependencies.eroled_dependencies)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_000_initial_state` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_001_cluster_base` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_002_cluster_weakly_up` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_003_cluster_singleton` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_004_cluster_weakly_up_disabled` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_005_cluster_akka_bootstrap_discovery_via_config` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_006_cluster_akka_bootstrap_discovery_via_akka_dns` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_007_cluster_split_brain_resolver_keep_majority` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_008_cluster_split_brain_resolver_static_quorum` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_010_split_brain_resolver_keep_oldest` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_011_split_brain_resolver_down_all` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_012_clustered_sudoku_solver` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_014_add_cluster_client` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_015_clustered_sudoku_solver_cluster_client_enabled` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_017_es_opentracing` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_018_es_classic_console` = project
.configure(CommonSettings.configure)
.dependsOn(core % "test->test;compile->compile")
lazy val `exercise_101_display_cluster_status` = project
.configure(CommonSettings.configure)
.dependsOn(core_eroled % "test->test;compile->compile")
lazy val `exercise_102_display_cluster_sharding` = project
.configure(CommonSettings.configure)
.dependsOn(core_eroled % "test->test;compile->compile")
lazy val `exercise_103_display_cluster_crdt` = project
.configure(CommonSettings.configure)
.dependsOn(core_eroled % "test->test;compile->compile")