aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2018-04-08 20:02:17 -0700
committerJakob Odersky <jakob@odersky.com>2018-04-08 20:02:17 -0700
commit98f1acf269312545192be115c75a6cce58c00766 (patch)
tree093990e84f8b0438a826a78a06302b184c0c0056
parentcecbadcd128d3b3113e133f92555b16dbc68e51d (diff)
downloadyamlesque-98f1acf269312545192be115c75a6cce58c00766.tar.gz
yamlesque-98f1acf269312545192be115c75a6cce58c00766.tar.bz2
yamlesque-98f1acf269312545192be115c75a6cce58c00766.zip
Aggregate projects
-rw-r--r--build.sbt23
1 files changed, 16 insertions, 7 deletions
diff --git a/build.sbt b/build.sbt
index 5ae0dc5..efb528a 100644
--- a/build.sbt
+++ b/build.sbt
@@ -6,8 +6,7 @@ val testSettings = Seq(
testFrameworks += new TestFramework("utest.runner.Framework")
)
-
-lazy val yamlesque = crossProject(JSPlatform, JVMPlatform, NativePlatform)
+lazy val yamlesque = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.crossType(CrossType.Pure)
.settings(testSettings)
.settings(
@@ -28,14 +27,24 @@ lazy val yamlesqueJVM = yamlesque.jvm
lazy val yamlesqueJS = yamlesque.js
lazy val yamlesqueNative = yamlesque.native
-lazy val yamlesqueSpray = crossProject(JSPlatform, JVMPlatform, NativePlatform)
+lazy val yamlesqueSpray = crossProject(JVMPlatform)
.crossType(CrossType.Pure)
.in(file("yamlesque-spray"))
.dependsOn(yamlesque)
.settings(testSettings)
.settings(
- libraryDependencies += "io.spray" %% "spray-json" % "1.3.4"
+ libraryDependencies += "io.spray" %%% "spray-json" % "1.3.4"
+ )
+lazy val yamlesqueSprayJVM = yamlesqueSpray.jvm
+
+lazy val root = (project in file("."))
+ .aggregate(
+ yamlesqueJVM,
+ yamlesqueJS,
+ yamlesqueNative,
+ yamlesqueSprayJVM
+ )
+ .settings(
+ publish := {},
+ publishLocal := {}
)
-lazy val yamlesqueSprayJVM = yamlesqueSpray.jvm
-lazy val yamlesqueSprayJS = yamlesqueSpray.js
-lazy val yamlesqueSprayNative = yamlesqueSpray.native