-
Notifications
You must be signed in to change notification settings - Fork 28
/
build.sbt
56 lines (53 loc) · 1.57 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
import sbt.Keys._
lazy val buildSettings = Seq(
organization := "io.kontainers",
scalaVersion := "2.13.10",
crossScalaVersions := Seq("2.12.15", scalaVersion.value)
)
lazy val publishSettings = Seq(
publishMavenStyle := true,
Test/ publishArtifact := false,
releasePublishArtifactsAction := PgpKeys.publishSigned.value,
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging),
pomIncludeRepository := { x => false },
pomExtra := (
<url>https://github.com/kontainers/PureCSV</url>
<licenses>
<license>
<name>Apache2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:kontainers/PureCSV.git</url>
<connection>scm:git:[email protected]:kontainers/PureCSV.git</connection>
</scm>
<developers>
<developer>
<id>sentenza</id>
<name>Alfredo Torre</name>
</developer>
<developer>
<id>melrief</id>
<name>Mario Pastorelli</name>
</developer>
</developers>
)
)
lazy val pureCSV = project.in(file(".")).
settings(buildSettings).
settings(publishSettings).
settings(
name := "purecsv",
scalacOptions ++= Seq("-feature", "-deprecation"),
libraryDependencies ++= Seq(
"com.chuusai" %% "shapeless" % "2.3.10",
"com.github.tototoshi" %% "scala-csv" % "1.3.10",
"org.scalatest" %% "scalatest" % "3.2.14" % Test
)
)