-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
49 lines (42 loc) · 1.22 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
import sbt._
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
releaseCrossBuild := true
publishMavenStyle := true
pomIncludeRepository := (_ => false)
releasePublishArtifactsAction := PgpKeys.publishSigned.value
parallelExecution in ThisBuild := false
lazy val defaultSettings =
Project.defaultSettings ++
Compiler.defaultSettings ++
Publish.defaultSettings ++
Console.defaultSettings
lazy val supertagged = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.crossType(CrossType.Pure)
.in(file("."))
.settings(defaultSettings)
.settings(NonTests.defaultSettings)
.nativeSettings(
Project.moduleNativeSettings
)
lazy val tests = crossProject(JSPlatform, JVMPlatform)
.crossType(CrossType.Pure)
.settings(defaultSettings)
.settings(Tests.defaultSettings)
.settings(
publish := {},
publishLocal := {},
publishArtifact := false
)
.jsSettings(
Test / parallelExecution := false
)
.dependsOn(supertagged)
lazy val root = project.in(file("."))
.settings(defaultSettings)
.settings(
name := "supertagged",
publish := {},
publishLocal := {},
publishArtifact := false
)
.aggregate(supertagged.jvm, supertagged.js, tests.jvm, tests.js)