-
Notifications
You must be signed in to change notification settings - Fork 6
/
publish.sbt
33 lines (28 loc) · 982 Bytes
/
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
ThisBuild / organization := "com.donderom"
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/donderom/llm4s"),
"scm:git@github.com:donderom/llm4s.git"
)
)
ThisBuild / developers := List(
Developer(
id = "donderom",
name = "Roman Parykin",
email = "@donderom",
url = url("https://github.com/donderom")
)
)
ThisBuild / description := "Scala bindings for llama.cpp"
ThisBuild / licenses := List(
"Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")
)
ThisBuild / homepage := Some(url("https://github.com/donderom/llm4s"))
// Remove all additional repository other than Maven Central from POM
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / 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")
}
ThisBuild / publishMavenStyle := true