-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
executable file
·73 lines (57 loc) · 1.72 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import sbt.Keys.test
// Supported versions
val scala212 = "2.12.18"
val scala213 = "2.13.11"
val scala32 = "3.2.2"
val scala33 = "3.3.1"
ThisBuild / organization := "io.cequence"
ThisBuild / scalaVersion := scala212
ThisBuild / version := "1.3.0"
ThisBuild / isSnapshot := false
lazy val core = (project in file("pinecone-core"))
lazy val client = (project in file("pinecone-client")).dependsOn(core).aggregate(core)
lazy val examples = (project in file("examples"))
.dependsOn(core, client)
.aggregate(core, client)
lazy val openAiExamples = (project in file("openai-examples"))
.dependsOn(core, client)
.aggregate(core, client)
// POM settings for Sonatype
ThisBuild / homepage := Some(url("https://github.com/cequence-io/pinecone-scala"))
ThisBuild / sonatypeProfileName := "io.cequence"
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/cequence-io/pinecone-scala"),
"scm:git@github.com:cequence-io/pinecone-scala.git"
)
)
ThisBuild / developers := List(
Developer(
"bnd",
"Peter Banda",
"peter.banda@protonmail.com",
url("https://peterbanda.net")
),
Developer(
"bburdiliak",
"Boris Burdiliak",
"boris.burdiliak@cequence.io",
url("https://cequence.io")
),
Developer(
"branislav-burdiliak",
"Branislav Burdiliak",
"brano.burdiliak@cequence.io",
url("https://cequence.io")
)
)
ThisBuild / licenses += "MIT" -> url("https://opensource.org/licenses/MIT")
ThisBuild / publishMavenStyle := true
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
ThisBuild / sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
ThisBuild / publishTo := sonatypePublishToBundle.value
inThisBuild(
List(
scalacOptions += "-Ywarn-unused",
)
)