-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
55 lines (32 loc) · 1.2 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
51
52
53
54
55
name := "web-components"
//version := "2018.10.0-SNPASHOT"
enablePlugins(ScalaJSPlugin)
val scala212 = "2.12.6"
scalaVersion := scala212
crossScalaVersions := Seq(scala212)
scalacOptions ++= Seq(
"-feature",
"-deprecation",
"-unchecked",
"-language:implicitConversions"
)
//deps
libraryDependencies ++= Seq("scalajs-react-interface" %%% "core" % "2018.10.25-RC" % Provided,
"scalajs-react-interface" %%% "universal" % "2018.10.25-RC" % Provided,
"scalajs-react-interface" %%% "vdom" % "2018.10.25-RC" % Provided)
//disable doc gen
sources in (Compile,doc) := Seq.empty
publishArtifact in (Compile, packageDoc) := false
//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"
publishArtifact in Test := false
//Test
scalaJSUseTestModuleInitializer in test := true
scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule))
resolvers ++= Seq(Resolver.bintrayRepo("scalajs-react-interface", "maven"),
Resolver.bintrayRepo("scalajs-plus", "maven"))
scalaJSStage in Global := FastOptStage