forked from TypesafeConfigOps/TypesafeConfigOps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
54 lines (40 loc) · 1.61 KB
/
build.sbt
File metadata and controls
54 lines (40 loc) · 1.61 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
44
45
46
47
48
49
50
51
52
53
54
name := "Typesafe-Config-Ops"
version := "3.1"
description := "Useful extension and DSL created for Typesafe Config. It allows us to work with optional values, default values and templates."
licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("https://typesafeconfigops.github.io"))
organization := "io.github.typesafeconfigops"
organizationName := "typesafeconfigops"
organizationHomepage := Some(url("https://typesafeconfigops.github.io"))
developers := List(
Developer(
id = "lashchenko",
name = "Andrii Lashchenko",
email = "andrew.lashchenko@gmail.com",
url = url("https://github.com/lashchenko")
)
)
scmInfo := Some(
ScmInfo(
url("https://github.com/typesafeconfigops/TypesafeConfigOps"),
"scm:git@github.com:typesafeconfigops/TypesafeConfigOps.git"
)
)
publishTo := {
// https://central.sonatype.org/news/20210223_new-users-on-s01/
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")
}
// https://central.sonatype.org/news/20210223_new-users-on-s01/
sonatypeCredentialHost := "https://s01.oss.sonatype.org"
publishMavenStyle := true
publishConfiguration := publishConfiguration.value.withOverwrite(true)
scalaVersion := "3.3.1"
scalacOptions ++= Seq(
"-deprecation"
)
Test / parallelExecution := true
Test / fork := true
libraryDependencies += "com.typesafe" % "config" % "1.4.3"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.17" % Test