-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
53 lines (50 loc) · 2.38 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
lazy val testContainersScalaVersion = "0.41.5"
lazy val testContainersWarp10Version = "1.0.8"
lazy val akkaVersion = "2.8.8"
ThisBuild / semanticdbVersion := "4.12.1"
credentials += Credentials("GnuPG Key ID", "gpg", "B11C53C05D413713BDD3660FA7B8F38C536F1DF2", "ignored")
lazy val root = (project in file(".")).settings(
organization := "com.clever-cloud",
scalaVersion := "2.13.15",
version := "2.1.2",
crossScalaVersions := Seq(scalaVersion.value, "3.6.2"),
name := "testcontainers-scala-warp10",
licenses := List("MIT" -> new URI("https://mit-license.org/").toURL()),
homepage := Some(url("https://github.com/CleverCloud/testcontainers-scala-warp10")),
resolvers += Resolver.mavenLocal,
resolvers += Resolver.mavenCentral,
libraryDependencies ++= Seq(
"com.dimafeng" %% "testcontainers-scala-core" % testContainersScalaVersion,
"com.clever-cloud" % "testcontainers-warp10" % testContainersWarp10Version,
"net.java.dev.jna" % "jna" % "5.15.0" % Test,
"org.scalatest" %% "scalatest" % "3.2.19" % Test,
("com.typesafe.akka" %% "akka-protobuf-v3" % akkaVersion % Test).cross(CrossVersion.for3Use2_13),
("com.typesafe.akka" %% "akka-stream-typed" % akkaVersion % Test).cross(CrossVersion.for3Use2_13),
("com.typesafe.akka" %% "akka-stream" % akkaVersion % Test).cross(CrossVersion.for3Use2_13),
("com.typesafe.akka" %% "akka-actor-testkit-typed" % akkaVersion % Test).cross(CrossVersion.for3Use2_13),
"com.dimafeng" %% "testcontainers-scala-scalatest" % testContainersScalaVersion % Test,
"org.slf4j" % "slf4j-jdk14" % "2.0.16" % Test,
("io.moia" %% "scala-http-client" % "5.2.0" % Test).cross(CrossVersion.for3Use2_13)
),
publishMavenStyle := true,
Test / publishArtifact := false,
pomIncludeRepository := { _ => false },
ThisBuild / 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")
},
scmInfo := Some(
ScmInfo(
url("https://github.com/CleverCloud/testcontainers-scala-warp10"),
"scm:git:[email protected]:CleverCloud/testcontainers-scala-warp10"
)
),
developers := List(
Developer("judu", "Julien Durillon", "[email protected]", url("https://github.com/judu"))
),
Test / fork := true,
usePgpKeyHex("A7B8F38C536F1DF2")
)