Skip to content

Commit

Permalink
Removed not used sbt-scala-native plugin and fixed importing the proj…
Browse files Browse the repository at this point in the history
…ect into intellij (#2382)
  • Loading branch information
LukaszMarchewka authored and kailuowang committed Oct 12, 2018
1 parent 9c56c4b commit 6d1c167
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ lazy val commonJvmSettings = Seq(
}
)

lazy val commonNativeSettings = Seq(
scalaVersion := "2.11.12", //TODO load scala version form .travis.yml: https://github.com/dwijnand/sbt-travisci/issues/11
crossScalaVersions := Seq("2.11.12")
)

lazy val includeGeneratedSrc: Setting[_] = {
mappings in (Compile, packageSrc) ++= {
val base = (sourceManaged in Compile).value
Expand Down Expand Up @@ -351,9 +356,9 @@ 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
Expand Down

0 comments on commit 6d1c167

Please sign in to comment.