-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
75 lines (74 loc) · 2.18 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
74
75
// Define versions for libraries:
val VersionCats = "1.4.0"
val VersionCatsEffect = "1.0.0"
val VersionCirce = "0.10.0"
val VersionSTTP = "1.3.5"
// Configure the root project:
lazy val root = (project in file("."))
.enablePlugins(BuildInfoPlugin)
.settings(
name := "decaf-client-scala",
version := "0.0.3-SNAPSHOT",
description := "DECAF API Client for Scala.",
homepage := Some(
url(
"https://github.com/teloscube/decaf-client-scala",
),
),
licenses := List(
"Apache 2" -> new URL(
"http://www.apache.org/licenses/LICENSE-2.0.txt",
),
),
organization := "com.decafhub",
organizationName := "decafhub",
organizationHomepage := Some(
url("https://decafhub.com"),
),
scmInfo := Some(
ScmInfo(
url(
"https://github.com/teloscube/decaf-client-scala",
),
"scm:[email protected]:teloscube/decaf-client-scala.git",
),
),
developers := List(
Developer(
id = "vst",
name = "Vehbi Sinan Tunalioglu",
email = "[email protected]",
url = url("https://github.com/vst"),
),
),
scalaVersion := "2.12.15",
scalacOptions += "-deprecation",
buildInfoKeys := Seq[BuildInfoKey](
name,
version,
scalaVersion,
sbtVersion,
),
buildInfoPackage := "com.decafhub.decaf.client.buildinfo",
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % VersionCats,
"org.typelevel" %% "cats-effect" % VersionCatsEffect,
"io.circe" %% "circe-core" % VersionCirce,
"io.circe" %% "circe-generic" % VersionCirce,
"com.softwaremill.sttp" %% "core" % VersionSTTP,
"com.softwaremill.sttp" %% "circe" % VersionSTTP,
),
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",
)
},
publishMavenStyle := true,
)