-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
61 lines (54 loc) · 1.77 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
57
58
59
60
name := """jazio"""
version := "1.0.1-SNAPSHOT"
description := "Java IO effect library, inspired by the fantastic ZIO library"
lazy val publishSettings = Seq(
publishMavenStyle := true,
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")
},
publishConfiguration := publishConfiguration.value.withOverwrite(true),
Test / publishArtifact := false,
pomIncludeRepository := { _ => false },
pomExtra := (
<url>https://github.com/enpassant/jazio</url>
<licenses>
<license>
<name>Apache-style</name>
<url>https://opensource.org/licenses/Apache-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:enpassant/jazio.git</url>
<connection>scm:git:git@github.com:enpassant/jazio.git</connection>
</scm>
<developers>
<developer>
<id>enpassant</id>
<name>Enpassant</name>
<email>enpassant.prog@gmail.com</email>
<url>https://github.com/enpassant</url>
</developer>
</developers>)
)
lazy val root = (project in file("."))
.configs(IntegrationTest)
.settings(
publishSettings,
//javacOptions += "-Xlint:unchecked",
javaOptions += "-Xmx512m",
organization := "io.github.enpassant",
libraryDependencies ++= Seq(
"org.postgresql" % "postgresql" % "42.2.10" % Test,
"com.h2database" % "h2" % "1.4.197" % Test,
"junit" % "junit" % "4.12" % Test,
"com.novocode" % "junit-interface" % "0.11" % Test
),
crossPaths := false,
testOptions += Tests.Argument(TestFrameworks.JUnit)
)
Test / parallelExecution := true