-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
55 lines (47 loc) · 1.67 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
val CatsVersion = "2.12.0"
val WeaverCatsVersion = "0.8.4"
ThisBuild / organization := "com.melvinlow"
ThisBuild / organizationName := "Melvin Low"
ThisBuild / scalaVersion := "3.4.3"
ThisBuild / crossScalaVersions := Seq(scalaVersion.value)
ThisBuild / semanticdbEnabled := true
ThisBuild / semanticdbVersion := scalafixSemanticdb.revision
ThisBuild / licenses := Seq("APL2" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / homepage := Some(url("https://github.com/lowmelvin/formify-scala"))
ThisBuild / developers := List(
Developer("lowmelvin", "Melvin Low", "[email protected]", url("https://melvinlow.com"))
)
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
ThisBuild / sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
usePgpKeyHex("821A82C15670B776F9950C8046E96DBCFD1E8107")
lazy val root = (project in file("."))
.settings(
name := "formify",
description := "Scala library to convert generic product types to form data",
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % CatsVersion,
"com.disneystreaming" %% "weaver-cats" % WeaverCatsVersion % Test
),
scalacOptions ++= Seq(
"-encoding",
"UTF-8",
"-feature",
"-unchecked",
"-deprecation",
"-Wunused:all",
"-Werror",
"-Wvalue-discard",
"-no-indent",
"-explain"
),
testFrameworks ++= List(
new TestFramework("weaver.framework.CatsEffect")
)
)
lazy val docs = (project in file("formify-docs"))
.dependsOn(root)
.enablePlugins(MdocPlugin)
.settings(
mdocIn := file("docs/README.md"),
mdocOut := file("README.md")
)