From 7336650ab54dac5efe11bedf03588aa6d8d7a418 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Sat, 18 Apr 2020 20:27:46 -0700 Subject: [PATCH] Fix cross build configuration --- build.sbt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/build.sbt b/build.sbt index d50ad02..a072d74 100644 --- a/build.sbt +++ b/build.sbt @@ -11,17 +11,9 @@ fork in Global in compile := true description in ThisBuild := "A collection of Scala language extension for specific domains." -lazy val core = crossProject.crossType(CrossType.Pure) +lazy val core = crossProject(JVMPlatform, JSPlatform).crossType(CrossType.Pure).build -lazy val coreJVM = core.jvm - -lazy val coreJS = core.js - -lazy val `comprehension-monad` = crossProject.crossType(CrossType.Pure) - -lazy val `comprehension-monadJVM` = `comprehension-monad`.jvm - -lazy val `comprehension-monadJS` = `comprehension-monad`.js +lazy val `comprehension-monad` = crossProject(JVMPlatform, JSPlatform).crossType(CrossType.Pure).build startYear in ThisBuild := Some(2015)