-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathbuild.sbt
44 lines (29 loc) · 1.05 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
sbtPlugin := true
name := "sbt-reactjs"
organization := "com.github.ddispaltro"
scalacOptions ++= Seq("-deprecation", "-feature")
libraryDependencies ++= Seq(
"org.webjars.npm" % "react" % "18.2.0",
"org.webjars.npm" % "react-tools" % "0.13.3",
"org.webjars.npm" % "js-tokens" % "8.0.0",
"org.webjars.npm" % "jstransform" % "11.0.3",
"org.webjars" % "esprima" % "13001.1.0-dev-harmony-fb",
"org.webjars" % "base62js" % "1.0.0",
"org.webjars.npm" % "source-map" % "0.7.4",
"org.webjars" % "mkdirp" % "0.5.0",
"org.webjars.npm" % "minimatch" % "5.1.6"
)
addSbtJsEngine("1.2.3")
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0.html"))
ThisBuild / crossScalaVersions := Seq("2.12.18", "2.10.7")
ThisBuild / pluginCrossBuild / sbtVersion := {
scalaBinaryVersion.value match {
case "2.10" => "0.13.18"
case "2.12" => "1.9.1"
}
}
pomIncludeRepository := { _ => false }
publishMavenStyle := false
// Bintray settings
bintray / bintrayRepository := "sbt-plugins"
bintray / bintrayOrganization := None