-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.sbt
59 lines (49 loc) · 1.98 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
name := "akka-graal-config"
inThisBuild(List(
organization := "com.github.vmencik",
scalaVersion := scala213,
crossScalaVersions := supportedScalaVersions,
autoScalaLibrary := false,
licenses := Seq("Apache-2.0" -> url("https://opensource.org/licenses/Apache-2.0")),
homepage := Some(url("https://github.com/vmencik/akka-graal-config")),
developers := List(Developer("vmencik", "Vlastimil Mencik", "[email protected]", url("https://github.com/vmencik"))),
scmInfo := Some(ScmInfo(url("https://github.com/vmencik/akka-graal-config"), "scm:git:[email protected]:vmencik/akka-graal-config.git")),
pgpPublicRing := file("./travis/local.pubring.asc"),
pgpSecretRing := file("./travis/local.secring.asc"),
releaseEarlyWith := SonatypePublisher
))
lazy val scala212 = "2.12.8"
lazy val scala213 = "2.13.0"
lazy val supportedScalaVersions = List(scala213, scala212)
lazy val actor = (project in file("akka-actor"))
.settings(
name := "graal-akka-actor",
unmanagedResourceDirectories in Compile += sourceDirectory.value / "main" / s"resources-${scalaBinaryVersion.value}",
libraryDependencies ++= Seq(
// required for substitutions
// make sure the version matches GraalVM version used to run native-image
"com.oracle.substratevm" % "svm" % "19.1.1" % Provided
)
)
lazy val slf4j = (project in file("akka-slf4j"))
.dependsOn(actor)
.settings(
name := "graal-akka-slf4j",
crossScalaVersions := supportedScalaVersions,
)
lazy val stream = (project in file("akka-stream"))
.dependsOn(actor)
.settings(
name := "graal-akka-stream",
crossScalaVersions := supportedScalaVersions,
)
lazy val http = (project in file("akka-http"))
.dependsOn(stream)
.settings(
name := "graal-akka-http",
crossScalaVersions := supportedScalaVersions,
unmanagedResourceDirectories in Compile += sourceDirectory.value / "main" / s"resources-${scalaBinaryVersion.value}"
)
// do not publish root project
publish / skip := true
crossScalaVersions := Nil