-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
50 lines (34 loc) · 1.27 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
shellPrompt in ThisBuild := { state => Project.extract(state).currentRef.project + "> " }
name := "vdom-styled"
//version := "2017.4.0-SNAPSHOT"
enablePlugins(ScalaJSPlugin)
val scala211 = "2.11.11"
val scala212 = "2.12.2"
scalaVersion := scala212
crossScalaVersions := Seq(scala211, scala212)
scalacOptions ++= Seq(
"-feature",
"-deprecation",
"-unchecked",
"-language:implicitConversions"
)
//Dependencies
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value % Provided,
"scalajs-react-interface" %%% "core" % "2017.3.26-beta" % Provided,
"scalajs-react-interface" %%% "universal" % "2017.4.9-beta" % Provided,
"scalajs-react-interface" %%% "vdom" % "2017.4.24-beta" % Provided
)
//bintray
resolvers += Resolver.jcenterRepo
organization := "scalajs-react-interface"
licenses += ("Apache-2.0", url(
"https://www.apache.org/licenses/LICENSE-2.0.html"))
bintrayOrganization := Some("scalajs-react-interface")
bintrayRepository := "maven"
bintrayVcsUrl := Some("[email protected]:scalajs-react-interface/vdom-styled.git")
publishArtifact in Test := false
//Test
resolvers += Resolver.bintrayRepo("scalajs-react-interface", "maven")
libraryDependencies += "org.scalatest" %%% "scalatest" % "3.0.0" % Test
scalaJSStage in Global := FastOptStage