-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
54 lines (46 loc) · 1.76 KB
/
build.sbt
File metadata and controls
54 lines (46 loc) · 1.76 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 := "lib-util"
organization := "com.bryzek"
version := "0.0.28"
ThisBuild / javacOptions ++= Seq("-source", "17", "-target", "17")
ThisBuild / organization := "com.bryzek"
ThisBuild / homepage := Some(url("https://github.com/mbryzek/lib-util"))
ThisBuild / licenses := Seq("MIT" -> url("https://github.com/mbryzek/lib-util/blob/main/LICENSE"))
ThisBuild / developers := List(
Developer("mbryzek", "Michael Bryzek", "mbryzek@alum.mit.edu", url("https://github.com/mbryzek"))
)
ThisBuild / scmInfo := Some(
ScmInfo(url("https://github.com/mbryzek/lib-util"), "scm:git@github.com:mbryzek/lib-util.git")
)
ThisBuild / publishTo := sonatypePublishToBundle.value
ThisBuild / sonatypeCredentialHost := "central.sonatype.com"
ThisBuild / sonatypeRepository := "https://central.sonatype.com/api/v1/publisher"
ThisBuild / publishMavenStyle := true
ThisBuild / scalaVersion := "3.8.1"
lazy val allScalacOptions = Seq(
"-feature",
"-Werror",
"-Wunused:locals",
"-Wunused:params",
"-Wimplausible-patterns",
"-Wunused:linted",
"-Wunused:imports",
"-Wunused:privates",
)
lazy val root = project
.in(file("."))
.settings(
resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases",
scalafmtOnCompile := true,
Compile / packageDoc / mappings := Seq(),
Compile / packageDoc / publishArtifact := true,
testOptions += Tests.Argument("-oDF"),
scalacOptions ++= allScalacOptions,
libraryDependencies ++= Seq(
"com.github.tototoshi" %% "scala-csv" % "2.0.0",
"commons-codec" % "commons-codec" % "1.21.0",
"joda-time" % "joda-time" % "2.14.0",
"org.typelevel" %% "cats-core" % "2.12.0",
"org.playframework" %% "play-json" % "3.0.6",
"org.scalatestplus.play" %% "scalatestplus-play" % "7.0.1" % Test,
),
)