-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
46 lines (45 loc) · 1.88 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
val connIdVersion = "1.4.2.35"
lazy val root = (project in file("."))
.enablePlugins(GitVersioning, AutomateHeaderPlugin)
.settings(
organization := "eu.arthepsy.midpoint",
name := "connid-common",
description := "Common utils library for ConnId connectors",
scalaVersion := "2.12.6",
crossScalaVersions := Seq(scalaVersion.value,
"2.11.12",
"2.13.0-M3",
"0.8.0-RC1"),
resolvers ++= Seq(
"Evolveum releases" at "https://nexus.evolveum.com/nexus/content/repositories/releases/",
"Evolveum snapshots" at "https://nexus.evolveum.com/nexus/content/repositories/snapshots/"
),
libraryDependencies ++= Seq(
"net.tirasa.connid" % "connector-framework" % connIdVersion % Provided.name,
"net.tirasa.connid" % "connector-framework-contract" % connIdVersion % Provided.name
),
fork in Test := true,
libraryDependencies ++= (scalaVersion.value match {
case "0.8.0-RC1" =>
Seq("org.scalatest" % "scalatest_2.12" % "3.0.5" % "test")
case "2.13.0-M3" =>
Seq("org.scalatest" % "scalatest_2.12" % "3.0.5" % "test")
case _ => Seq("org.scalatest" %% "scalatest" % "3.0.5" % "test")
}),
libraryDependencies ++= Seq(
"org.mockito" % "mockito-core" % "2.18.3" % "test",
"com.github.tomakehurst" % "wiremock" % "2.17.0" % "test"
),
git.baseVersion := "1.0",
git.useGitDescribe := true,
git.uncommittedSignifier := None,
bintrayOrganization := None,
bintrayRepository := "maven",
publishMavenStyle := true,
publishArtifact in Test := true,
PgpKeys.useGpg in Global := true,
PgpKeys.gpgCommand in Global := "gpg2",
licenses := Seq("MIT" -> url("https://opensource.org/licenses/MIT")),
headerLicense := Some(
HeaderLicense.Custom(IO.read(baseDirectory.value / "LICENSE.md")))
)