-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathbuild.sbt
39 lines (33 loc) · 1.09 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
import Dependencies._
ThisBuild / scalaVersion := "2.13.5"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "dev.profunktor"
ThisBuild / organizationName := "ProfunKtor"
ThisBuild / scalafixDependencies += Libraries.organizeImports
resolvers += Resolver.sonatypeRepo("snapshots")
Compile / run / fork := true
lazy val root = (project in file("."))
.settings(
name := "pfps-examples",
scalacOptions ++= List("-Ymacro-annotations", "-Yrangepos", "-Wconf:cat=unused:info"),
scalafmtOnCompile := true,
libraryDependencies ++= Seq(
CompilerPlugins.betterMonadicFor,
CompilerPlugins.kindProjector,
CompilerPlugins.semanticDB,
Libraries.cats,
Libraries.catsEffect,
Libraries.catsMtl,
Libraries.derevoCats,
Libraries.derevoCirceMagnolia,
Libraries.derevoTagless,
Libraries.fs2,
Libraries.monocleCore,
Libraries.monocleMacro,
Libraries.newtype,
Libraries.refinedCore,
Libraries.refinedCats,
Libraries.tofu
)
)
addCommandAlias("runLinter", ";scalafixAll --rules OrganizeImports")