-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
49 lines (47 loc) · 1.59 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
45
46
47
48
49
ThisBuild / publish / skip := true
lazy val root = crossProject(JVMPlatform, JSPlatform)
.crossType(CrossType.Full)
.in(file("."))
.platformsEnablePlugins(JSPlatform)(ScalaJSJUnitPlugin)
.settings(
organization := "org.getshaka",
name := "native-converter",
version := "0.9.1-SNAPSHOT",
versionScheme := Some("early-semver"),
scalaVersion := "3.3.0",
// publishing settings
homepage := Some(url("https://github.com/getshaka-org/native-converter")),
licenses += ("Apache-2.0", url("https://opensource.org/licenses/Apache-2.0")),
scmInfo := Some(
ScmInfo(
url("https://github.com/getshaka-org/native-converter"),
"scm:git:[email protected]:getshaka-org/native-converter.git",
Some("scm:git:[email protected]:getshaka-org/native-converter.git")
)
),
developers := List(
Developer(
id = "[email protected]",
name = "August Nagro",
email = "[email protected]",
url = url("https://augustnagro.com")
)
),
publish / skip := false,
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")
)
.jvmSettings(
libraryDependencies ++= Seq(
"com.novocode" % "junit-interface" % "0.11" % "test"
)
)