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
  • Loading branch information
LukaszMarchewka committed Aug 15, 2018
1 parent 9aa77a9 commit c51c693
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,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 @@ -340,6 +345,7 @@ lazy val kernel = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.settings(includeGeneratedSrc)
.jsSettings(commonJsSettings)
.jvmSettings(commonJvmSettings ++ mimaSettings("cats-kernel"))
.nativeSettings(commonNativeSettings)


lazy val kernelJVM = kernel.jvm
Expand Down

0 comments on commit c51c693

Please sign in to comment.