forked from scalaprops/scalaprops-cross-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
33 lines (30 loc) · 841 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import sbtcrossproject.CrossPlugin.autoImport.crossProject
val example = crossProject(
JSPlatform, JVMPlatform, NativePlatform
).in(file(".")).settings(
scalapropsCoreSettings,
scalacOptions ++= Seq(
"-deprecation",
"-unchecked",
"-Xfuture",
"-language:existentials",
"-language:higherKinds",
"-language:implicitConversions",
"-Yno-adapted-args"
),
scalaVersion := "2.11.12",
resolvers += Opts.resolver.sonatypeReleases,
name := "scalaprops-cross-example",
libraryDependencies ++= Seq(
"com.github.scalaprops" %%% "scalaprops" % "0.6.0" % "test"
)
).nativeSettings(
scalapropsNativeSettings
)
val exampleJVM = example.jvm
val exampleJS = example.js
val exampleNative = example.native
publishLocal := {}
publish := {}
publishArtifact in Compile := false
publishArtifact in Test := false