-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
71 lines (63 loc) · 2.05 KB
/
build.sbt
File metadata and controls
71 lines (63 loc) · 2.05 KB
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
lazy val homepage = "https://github.com/scala-subscript/subscriptfx"
lazy val repositoryUrl = "git://github.com/scala-subscript/subscriptfx.git"
lazy val commonSettings = Seq(
scalaVersion := "2.11.8"
, organization := "org.subscript-lang"
, version := "0.0.2"
, libraryDependencies ++= Seq(
"org.subscript-lang" %% "subscript-swing" % "3.0.5"
, "org.scalafx" %% "scalafx" % "8.0.92-R10"
)
, publishTo := {
if (isSnapshot.value)
Some("snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/")
else
Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
}
, pomExtra :=
<url>{homepage}</url>
<licenses>
<license>
<name>GNU LGPL</name>
<url>http://www.gnu.org/licenses/lgpl-3.0.en.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>{repositoryUrl}</url>
<connection>{s"scm:$repositoryUrl"}</connection>
</scm>
<developers>
<developer>
<name>Andre van Delft</name>
<url>https://github.com/AndreVanDelft</url>
</developer>
<developer>
<id>anatoliykmetyuk</id>
<name>Anatoliy Kmetyuk</name>
<url>https://github.com/anatoliykmetyuk</url>
</developer>
</developers>
)
lazy val subscriptfx = (project in file("subscriptfx"))
.dependsOn(macros)
.settings(commonSettings)
.settings(
name := "subscriptfx"
)
lazy val demos = (project in file("demos"))
.dependsOn(subscriptfx)
.settings(commonSettings).settings(
fork := true // JavaFX runtime cannot be launched more than once per session, so we make each run in a separate JVM
, packagedArtifacts := Map.empty
)
lazy val macros = (project in file("macros"))
.settings(commonSettings).settings(
name := "subscriptfx-macro"
, libraryDependencies += "org.scala-lang" % "scala-reflect" % "2.11.8"
)
lazy val root = (project in file("."))
.aggregate(subscriptfx, demos, macros)
.settings(
packagedArtifacts := Map.empty // Don't publish root to maven
)