-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
44 lines (36 loc) · 1.51 KB
/
build.sbt
File metadata and controls
44 lines (36 loc) · 1.51 KB
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
organization := "com.github.adenza"
name := "xmlrpc-scala-client"
description := "XML-RPC Scala client"
startYear := Some(2020)
scmInfo := Some(
ScmInfo(
browseUrl = url("https://github.com/adenza/xmlrpc-scala-client/"),
connection = "scm:git:git@github.com:adenza/xmlrpc-scala-client.git",
devConnection = "scm:git:ssh://git@github.com:adenza/xmlrpc-scala-client.git"
)
)
homepage := scmInfo.value map (_.browseUrl)
developers += Developer(
id = "chameleon82",
name = "Aleksandr Nekrasov",
email = "@chameleon82",
url = url("https://github.com/chameleon82")
)
licenses += ("The Apache Software License, Version 2.0", url("https://www.apache.org/licenses/LICENSE-2.0.txt"))
publishTo := Some(if (version.value.endsWith("SNAPSHOT"))
"Sonatype Snapshots Nexus" at "https://oss.sonatype.org/content/repositories/snapshots"
else
"Sonatype Releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
scalaVersion := "2.12.11"
crossScalaVersions := Seq(scalaVersion.value, "2.13.1")
scalacOptions ++= Seq("-deprecation", "-feature")
lazy val xmlRpcScalaClient = Project(id = "xmlrpc-scala-client", base = file("."))
.enablePlugins(SbtPgp)
libraryDependencies ++= Seq(
"org.apache.xmlrpc" % "xmlrpc-client" % "3.1.3",
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scalatest" %% "scalatest" % "3.1.1" % Test,
"org.mockito" %% "mockito-scala-scalatest" % "1.13.10" % Test
)
coverageEnabled in Test := true