-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.sbt
56 lines (43 loc) · 1.46 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
name := "scala-bcrypt"
organization := "com.github.t3hnar"
description := "Scala wrapper for jBcrypt + pom.xml inside"
scalaVersion := "2.13.3" // crossScalaVersions.value.last
crossScalaVersions := Seq("2.11.12", "2.12.18", "2.13.12", "3.3.1")
releaseCrossBuild := true
licenses := Seq(("Apache License, Version 2.0", url("http://www.apache.org/licenses/LICENSE-2.0")))
homepage := Some(new URL("https://github.com/t3hnar/scala-bcrypt"))
startYear := Some(2012)
scalacOptions := Seq(
"-encoding", "UTF-8",
"-feature",
"-unchecked",
"-deprecation",
"-Xlint",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen")
libraryDependencies ++= Seq(
"de.svenkubiak" % "jBCrypt" % "0.4.3",
"org.scalatest" %% "scalatest" % "3.2.17" % Test/*,
"org.scalatest" %% "scalatest" % "3.2.0" % Test,
"org.scalatest" %% "scalatest-wordspec" % "3.2.0" % Test*/)
pomExtra in Global := {
<scm>
<url>[email protected]:t3hnar/scala-bcrypt.git</url>
<connection>scm:git:[email protected]:t3hnar/scala-bcrypt.git</connection>
<developerConnection>scm:git:[email protected]:t3hnar/scala-bcrypt.git</developerConnection>
</scm>
<developers>
<developer>
<id>t3hnar</id>
<name>Yaroslav Klymko</name>
<email>[email protected]</email>
</developer>
</developers>
}
releasePublishArtifactsAction := PgpKeys.publishSigned.value
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)