-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.sbt
executable file
·60 lines (53 loc) · 1.74 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
lazy val root =
if (ProjectSettings.isDemoEnabled) project
.in(file("."))
.aggregate(core, icons, lab, bridge, demo)
.configure(ProjectSettings.rootProfile)
else project
.in(file("."))
.aggregate(core, icons, lab, bridge)
.configure(ProjectSettings.rootProfile)
lazy val core = project
.in(file("core"))
.enablePlugins(MuiColorsGeneratorPlugin)
.configure(Modules.coreProfile)
.dependsOn(bridge)
lazy val icons = project
.in(file("icons"))
.enablePlugins(MuiIconsGeneratorPlugin)
.configure(Modules.iconsProfile)
.dependsOn(bridge)
lazy val lab = project
.in(file("lab"))
.configure(Modules.labProfile)
.dependsOn(bridge)
lazy val demo = project
.in(file("demo"))
.enablePlugins(ScalablyTypedConverterPlugin)
.configure(Modules.demoProfile)
.dependsOn(core, icons, lab, bridge)
lazy val bridge = project
.in(file("utils/bridge"))
.enablePlugins(BridgeGeneratorPlugin)
.configure(Modules.bridgeProfile)
// format: off
inThisBuild(
List(
sonatypeCredentialHost := Sonatype.sonatype01,
versionScheme := Some(VersionScheme.EarlySemVer),
organization := "io.kinoplan",
homepage := Some(url("https://github.com/kinoplan/scalajs-react-material-ui")),
licenses := Seq("Apache-2.0" -> url("https://opensource.org/licenses/Apache-2.0")),
developers := List(Developer("kinoplan", "Kinoplan", "job@kinoplan.ru", url("https://kinoplan.tech"))),
scmInfo := Some(
ScmInfo(
url("https://github.com/kinoplan/scalajs-react-material-ui"),
"scm:git:git@github.com:kinoplan/scalajs-react-material-ui.git"
)
)
)
)
// format: on
onLoad in Global :=
("project bridge" :: "bridgeImplicitsGenerator" :: "project root" :: (_: State))
.compose((onLoad in Global).value)