-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
44 lines (43 loc) · 1.4 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
lazy val root = project
.in(file("."))
.enablePlugins(ScalaJSPlugin)
.settings(
organization := "org.getshaka",
name := "shaka",
version := "0.6.1-SNAPSHOT",
versionScheme := Some("early-semver"),
scalaVersion := "3.3.0",
libraryDependencies ++= Seq(
"org.getshaka" %%% "native-converter" % "0.9.0",
"org.scala-js" %%% "scalajs-dom" % "2.6.0"
),
// publishing settings
homepage := Some(url("https://getshaka.org")),
licenses += ("Apache-2.0", url("https://opensource.org/licenses/Apache-2.0")),
scmInfo := Some(
ScmInfo(
url("https://github.com/getshaka-org/shaka"),
"scm:git:[email protected]:getshaka-org/shaka.git",
Some("scm:git:[email protected]:getshaka-org/shaka.git")
)
),
developers := List(
Developer(
id = "[email protected]",
name = "August Nagro",
email = "[email protected]",
url = url("https://augustnagro.com")
)
),
Test / publishArtifact := false,
publishMavenStyle := true,
pomIncludeRepository := { _ => false },
publishTo := {
val nexus = "https://s01.oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
)