-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
47 lines (41 loc) · 1.28 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
val scala3Version = "3.4.0"
ThisBuild / semanticdbEnabled := true
ThisBuild / semanticdbVersion := scalafixSemanticdb.revision
scalacOptions ++= Seq(
"-deprecation",
"-feature"
)
lazy val root = project
.in(file("."))
.settings(
name := "scala3-bcrypt",
organization := "com.github.roundrop",
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
homepage := Some(new URL("https://github.com/roundrop/scala3-bcrypt")),
scalaVersion := scala3Version,
libraryDependencies ++= Seq(
"com.password4j" % "password4j" % "1.8.1",
"org.scalameta" %% "munit" % "0.7.29" % Test
)
)
pomExtra in Global := {
<scm>
<url>git@github.com:roundrop/scala3-bcrypt.git</url>
<connection>scm:git:git@github.com:roundrop/scala3-bcrypt.git</connection>
<developerConnection>scm:git:git@github.com:roundrop/scala3-bcrypt.git</developerConnection>
</scm>
<developers>
<developer>
<id>roundrop</id>
<name>Ryuji Yamashita</name>
<email>roundrop@gmail.com</email>
</developer>
</developers>
}
releasePublishArtifactsAction := PgpKeys.publishSigned.value
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)