Skip to content

Commit

Permalink
Disable Scala Native build for kernel (#2565)
Browse files Browse the repository at this point in the history
Scalacheck hasn't published artifact for Scala Native yet and that cause
problems with indexing project in Intellij. Plan is to temporarily
disable Scala Native cross project until artifact will be available at
typelevel/scalacheck#396
fixes #2559
  • Loading branch information
agajek authored and kailuowang committed Oct 19, 2018
1 parent 774fb51 commit 8b65aa3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ lazy val macros = crossProject(JSPlatform, JVMPlatform)
lazy val macrosJVM = macros.jvm
lazy val macrosJS = macros.js

lazy val kernel = crossProject(JSPlatform, JVMPlatform, NativePlatform)
lazy val kernel = crossProject(JSPlatform, JVMPlatform)
.crossType(CrossType.Pure)
.in(file("kernel"))
.settings(moduleName := "cats-kernel", name := "Cats kernel")
Expand All @@ -401,12 +401,10 @@ lazy val kernel = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.settings(includeGeneratedSrc)
.jsSettings(commonJsSettings)
.jvmSettings(commonJvmSettings ++ mimaSettings("cats-kernel"))
.nativeSettings(commonNativeSettings)
.settings(libraryDependencies += "org.scalacheck" %%% "scalacheck" % scalaCheckVersion(scalaVersion.value) % "test")

lazy val kernelJVM = kernel.jvm
lazy val kernelJS = kernel.js
lazy val kernelNative = kernel.native

lazy val kernelLaws = crossProject(JSPlatform, JVMPlatform)
.crossType(CrossType.Pure)
Expand Down

0 comments on commit 8b65aa3

Please sign in to comment.