-
Notifications
You must be signed in to change notification settings - Fork 29
/
build.sbt
48 lines (44 loc) · 1.31 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
organization := "com.algolia"
name := "algoliasearch-scala"
description := "Scala client for Algolia Search API"
scalaVersion := "2.13.15"
crossScalaVersions := Seq("2.13.12", "3.5.2")
publishMavenStyle := true
Test / publishArtifact := false
licenses += ("MIT", url("https://opensource.org/licenses/MIT"))
homepage := Some(url("https://github.com/algolia/algoliasearch-client-scala/"))
scmInfo := Some(
ScmInfo(
url("https://github.com/algolia/algoliasearch-client-scala"),
"scm:git:[email protected]:algolia/algoliasearch-client-scala.git"
)
)
pomIncludeRepository := { _ =>
false
}
developers += Developer(
"algolia",
"Algolia",
url("https://github.com/algolia/algoliasearch-client-scala/")
)
publishTo := sonatypePublishToBundle.value
lazy val root = project
.in(file("."))
.enablePlugins(BuildInfoPlugin)
.settings(
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
buildInfoPackage := "algoliasearch"
)
// Project dependencies
libraryDependencies ++= Seq(
"com.squareup.okhttp3" % "okhttp" % "4.12.0" % "compile",
"org.json4s" %% "json4s-native" % "4.0.7" % "compile",
"com.squareup.okhttp3" % "logging-interceptor" % "4.12.0",
"org.slf4j" % "slf4j-api" % "2.0.16"
)
scalacOptions := Seq(
"-unchecked",
"-deprecation",
"-feature"
)