diff options
author | Jakob Odersky <jakob@odersky.com> | 2018-04-08 20:02:17 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2018-04-08 20:02:17 -0700 |
commit | 98f1acf269312545192be115c75a6cce58c00766 (patch) | |
tree | 093990e84f8b0438a826a78a06302b184c0c0056 | |
parent | cecbadcd128d3b3113e133f92555b16dbc68e51d (diff) | |
download | yamlesque-98f1acf269312545192be115c75a6cce58c00766.tar.gz yamlesque-98f1acf269312545192be115c75a6cce58c00766.tar.bz2 yamlesque-98f1acf269312545192be115c75a6cce58c00766.zip |
Aggregate projects
-rw-r--r-- | build.sbt | 23 |
1 files changed, 16 insertions, 7 deletions
@@ -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 |