blob: 74d58228d6c41429745bb2ce0d96e6acd92baaf7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// shadow sbt-scalajs' crossProject and CrossType from Scala.js 0.6.x
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
version in ThisBuild := {
import sys.process._
("git describe --always --dirty=-SNAPSHOT --match v[0-9].*" !!).tail.trim
}
lazy val identicon = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.crossType(CrossType.Full)
.in(file("."))
.settings(
scalacOptions in Compile += "-deprecation",
scalaVersion := crossScalaVersions.value.head
)
.jvmSettings(
crossScalaVersions := "2.13.0-M5" :: "2.12.7" :: "2.11.12" :: Nil
)
.jsSettings(
crossScalaVersions := "2.12.6" :: "2.11.12" :: Nil
)
.nativeSettings(
crossScalaVersions := "2.11.12" :: Nil
)
|