forked from antonkulaga/threejs-facade
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
38 lines (22 loc) · 929 Bytes
/
build.sbt
File metadata and controls
38 lines (22 loc) · 929 Bytes
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
lazy val crossVersions = Seq("2.11.12", "2.12.15", "2.13.8")
scalaVersion := "2.13.8"
crossScalaVersions := crossVersions
organization := "com.github.opengrabeso"
name := "threejs-facade"
version := "0.0.144-0.0.2"
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-unchecked"
)
publishMavenStyle := true
githubOwner := "OpenGrabeso"
githubRepository := "packages"
githubTokenSource := TokenSource.GitConfig("github.token") || TokenSource.Environment("GITHUB_USERTOKEN") || TokenSource.Environment("GITHUB_TOKEN")
publishTo := {
Some("GitHub gamatron Apache Maven Packages" at "https://maven.pkg.github.com/OpenGrabeso/packages/")
}
crossScalaVersions := crossVersions
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.1.0"
jsDependencies += ProvidedJS / "facade_bundled/three.js" minified "facade_bundled/three.min.js" commonJSName "THREE"
enablePlugins(ScalaJSPlugin, JSDependenciesPlugin)