-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
67 lines (59 loc) · 1.89 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
import Dependencies._
import sbt.url
import sbtrelease.ReleaseStateTransformations.{checkSnapshotDependencies, commitNextVersion, commitReleaseVersion, inquireVersions, pushChanges, runClean, runTest, setNextVersion, setReleaseVersion, tagRelease}
ThisBuild / version := (ThisBuild / version).value
ThisBuild / organization := "uk.gov.nationalarchives"
ThisBuild / organizationName := "National Archives"
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/nationalarchives/tdr-graphql-client"),
"git@github.com:nationalarchives/tdr-graphql-client.git"
)
)
developers := List(
Developer(
id = "tna-da-bot",
name = "TNA Digital Archiving",
email = "s-GitHubDABot@nationalarchives.gov.uk",
url = url("https://github.com/nationalarchives/tdr-generated-grapqhl")
)
)
ThisBuild / description := "A simple graphql client which uses auto generated sangria classes"
ThisBuild / licenses := List("MIT" -> new URL("https://choosealicense.com/licenses/mit/"))
ThisBuild / homepage := Some(url("https://github.com/nationalarchives/tdr-graphql-client"))
scalaVersion := "2.13.14"
useGpgPinentry := true
publishTo := sonatypePublishToBundle.value
publishMavenStyle := true
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommand("publishSigned"),
releaseStepCommand("sonatypeBundleRelease"),
setNextVersion,
commitNextVersion,
pushChanges
)
resolvers +=
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
lazy val root = (project in file("."))
.settings(
name := "tdr-graphql-client",
libraryDependencies ++= Seq(
scalaTest % Test,
wiremock,
circeCore,
circeParser,
circeGeneric,
circeGenericExtras,
sttp,
sttpCirce,
oauth2,
sangria
)
)