-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbuild.sbt
More file actions
53 lines (41 loc) · 1.46 KB
/
build.sbt
File metadata and controls
53 lines (41 loc) · 1.46 KB
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
// To publish to Sonatype Central:
// sbt
// ++ 2.12.19
// publishSigned
// sonatypeCentralUpload
// exit
// rm -rf target/sonatype-staging/
// sbt
// ++ 2.13.18
// publishSigned
// sonatypeCentralUpload
import xerial.sbt.Sonatype.sonatypeCentralHost
enablePlugins(ScalaJSPlugin)
ThisBuild / scalaVersion := "2.13.18"
ThisBuild / crossScalaVersions := Seq("2.12.19", "2.13.18")
ThisBuild / organization := "com.github.ahnfelt"
ThisBuild / version := "0.11.0"
ThisBuild / organizationName := "ahnfelt"
ThisBuild / organizationHomepage := Some(url("https://github.com/Ahnfelt"))
ThisBuild / description := "A simple React wrapper for Scala.js"
ThisBuild / licenses := List("MIT" -> url("http://www.opensource.org/licenses/mit-license.php"))
ThisBuild / homepage := Some(url("https://github.com/Ahnfelt/react4s"))
ThisBuild / scmInfo := Some(ScmInfo(
url("https://github.com/Ahnfelt/react4s"),
"scm:git@github.com:Ahnfelt/react4s.git"
))
ThisBuild / developers := List(Developer(
id = "ahnfelt",
name = "Joakim Ahnfelt-Rønne",
email = "",
url = url("https://github.com/Ahnfelt")
))
ThisBuild / Test / publishArtifact := false
sonatypeCredentialHost := sonatypeCentralHost
ThisBuild / publishTo := sonatypePublishToBundle.value
name := "react4s"
scalacOptions += "-feature"
scalaJSLinkerConfig := {
val fastOptJSURI = (Compile / fastOptJS / artifactPath).value.toURI
scalaJSLinkerConfig.value.withRelativizeSourceMapBase(Some(fastOptJSURI))
}