forked from scala-js/scala-js-env-selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
22 lines (17 loc) · 751 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
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.2.0")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.18")
addSbtPlugin("org.scalastyle" % "scalastyle-sbt-plugin" % "1.0.0")
/* Make sure selenium is before scalajs-envs:
* It pulls in "closure-compiler-java-6" which in turn bundles some old
* guava stuff which in turn makes selenium fail.
*/
libraryDependencies ~=
("org.seleniumhq.selenium" % "selenium-server" % "3.141.59" +: _)
unmanagedSourceDirectories in Compile ++= {
val root = baseDirectory.value.getParentFile
Seq(root / "seleniumJSEnv/src/main/scala")
}
sources in Compile += {
val root = baseDirectory.value.getParentFile
root / "seleniumJSEnv/src/test/scala/org/scalajs/jsenv/selenium/TestCapabilities.scala"
}