-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
59 lines (49 loc) · 1.75 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
ThisBuild / organization := "de.upb.cs.swt.delphi"
ThisBuild / organizationName := "Delphi Project"
ThisBuild / organizationHomepage := Some(url("https://delphi.cs.uni-paderborn.de/"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/delphi-hub/delphi-core"),
"scm:[email protected]:delphi-hub/delphi-core.git"
)
)
ThisBuild / developers := List(
Developer(
id = "bhermann",
name = "Ben Hermann",
email = "[email protected]",
url = url("https://www.thewhitespace.de")
)
)
ThisBuild / description := "Core components for Delphi."
ThisBuild / licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / homepage := Some(url("https://delphi.cs.uni-paderborn.de/"))
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
ThisBuild / publishMavenStyle := true
ThisBuild / version := "0.9.2"
lazy val scala212 = "2.12.10"
lazy val scala213 = "2.13.1"
lazy val supportedScalaVersions = List(scala212, scala213)
ThisBuild / scalaVersion := scala213
lazy val root = (project in file("."))
.settings (
crossScalaVersions := Nil,
publish / skip := true
)
.aggregate(core, client)
lazy val core = project
.settings(
crossScalaVersions := supportedScalaVersions,
// other settings
)
lazy val client = project
.settings(
crossScalaVersions := supportedScalaVersions,
// other settings
)
.dependsOn(core)