forked from tomtung/latex2unicode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.sbt
37 lines (27 loc) · 1.02 KB
/
publish.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
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / organization := "com.github.tomtung"
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/tomtung/latex2unicode"),
"scm:[email protected]:tomtung/latex2unicode.git"
)
)
ThisBuild / developers := List(
Developer(
id = "tomtung",
name = "Tom Dong",
email = "[email protected]",
url = url("https://github.com/tomtung/")
)
)
ThisBuild / description := "Convert LaTeX markup to Unicode."
ThisBuild / licenses := List("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / homepage := Some(url("https://github.com/tomtung/latex2unicode"))
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / Test / publishArtifact := false
ThisBuild / publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
ThisBuild / publishMavenStyle := true