-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
118 lines (68 loc) · 2.7 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
116
117
118
publish / skip := true
organization in ThisBuild := "com.thoughtworks.feature"
parallelExecution in Global in Test := false
lazy val Caller = crossProject.crossType(CrossType.Pure)
lazy val CallerJVM = Caller.jvm
lazy val CallerJS = Caller.js
lazy val Constructor = crossProject.crossType(CrossType.Pure).dependsOn(Mixin % Test)
lazy val ConstructorJVM = Constructor.jvm
lazy val ConstructorJS = Constructor.js
lazy val Mixin = crossProject.crossType(CrossType.Pure)
lazy val MixinJVM = Mixin.jvm
lazy val MixinJS = Mixin.js
lazy val Demixin = crossProject.crossType(CrossType.Pure)
lazy val DemixinJVM = Demixin.jvm
lazy val DemixinJS = Demixin.js
lazy val The = crossProject.crossType(CrossType.Pure)
lazy val TheJVM = The.jvm
lazy val TheJS = The.js
lazy val SyntacticTypeTree = crossProject.crossType(CrossType.Pure)
lazy val Untyper = crossProject.crossType(CrossType.Pure)
lazy val UntyperJVM = Untyper.jvm
lazy val UntyperJS = Untyper.js
lazy val Factory = crossProject.crossType(CrossType.Pure).dependsOn(Untyper, The, ByName % Test)
lazy val FactoryJVM = Factory.jvm
lazy val FactoryJS = Factory.js
lazy val PartialApply = crossProject.crossType(CrossType.Pure)
lazy val PartialApplyJVM = PartialApply.jvm
lazy val PartialApplyJS = PartialApply.js
lazy val ImplicitApply = crossProject.crossType(CrossType.Pure)
lazy val ImplicitApplyJVM = ImplicitApply.jvm
lazy val ImplicitApplyJS = ImplicitApply.js
lazy val ByName = crossProject.crossType(CrossType.Pure)
lazy val ByNameJVM = ByName.jvm
lazy val ByNameJS = ByName.js
lazy val SelfType = crossProject.crossType(CrossType.Pure)
lazy val SelfTypeJVM = SelfType.jvm
lazy val SelfTypeJS = SelfType.js
lazy val Structural = crossProject.crossType(CrossType.Pure).dependsOn(Untyper)
lazy val StructuralJVM = Structural.jvm
lazy val StructuralJS = Structural.js
lazy val Glb = crossProject.crossType(CrossType.Pure)
lazy val GlbJVM = Glb.jvm
lazy val GlbJS = Glb.js
lazy val `mixins-ImplicitsSingleton` = crossProject.crossType(CrossType.Pure).dependsOn(Factory, ImplicitApply)
lazy val `mixins-ImplicitsSingletonJVM` = `mixins-ImplicitsSingleton`.jvm
lazy val `mixins-ImplicitsSingletonJS` = `mixins-ImplicitsSingleton`.js
enablePlugins(ScalaUnidocPlugin)
scalacOptions += "-Yliteral-types"
addCompilerPlugin("org.typelevel" %% "kind-projector" % "0.10.3")
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.patch)
ScalaUnidoc / unidoc / unidocProjectFilter := {
inProjects(
UntyperJVM,
MixinJVM,
DemixinJVM,
ConstructorJVM,
CallerJVM,
TheJVM,
FactoryJVM,
PartialApplyJVM,
ImplicitApplyJVM,
ByNameJVM,
`mixins-ImplicitsSingletonJVM`,
SelfTypeJVM,
StructuralJVM,
GlbJVM
)
}