-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
65 lines (60 loc) · 2.48 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
61
62
63
64
import sbt.Keys.libraryDependencies
import xerial.sbt.Sonatype._
ThisBuild / scalaVersion := Dependencies.scala
ThisBuild / organization := "ch.linkyard.scim"
ThisBuild / organizationName := "linkyard ag"
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / sonatypeCredentialHost := sonatypeCentralHost
ThisBuild / publishTo := sonatypePublishToBundle.value
ThisBuild / licenses := Seq("MIT" -> url("https://mit-license.org/"))
lazy val root = (project in file("."))
.settings(
name := "scim-scala",
inThisBuild(List(
Global / onChangedBuildSource := ReloadOnSourceChanges,
semanticdbEnabled := true,
semanticdbVersion := scalafixSemanticdb.revision,
scalacOptions += "-source:3.5",
scalacOptions += "-new-syntax",
scalacOptions += "-feature",
scalacOptions += "-unchecked",
scalacOptions += "-deprecation",
scalacOptions += "-Wconf:any:e",
scalacOptions += "-Wconf:id=E198:w",
scalacOptions += "-Wvalue-discard",
scalacOptions += "-Wunused:all",
scalacOptions ++= Seq("-Xmax-inlines", "50"),
ThisBuild / turbo := true,
Test / logBuffered := false,
publish / skip := true,
cancelable in Global := true,
libraryDependencies ++= Seq(
"io.kamon" %% "kamon-core" % Dependencies.kamon,
"com.typesafe.scala-logging" %% "scala-logging" % Dependencies.scalaLogging,
),
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % Dependencies.scalatest % Test,
"org.scalacheck" %% "scalacheck" % Dependencies.scalacheck % Test,
"org.scalatestplus" %% "scalacheck-1-16" % Dependencies.scalatestScalacheck % Test,
"io.github.martinhh" %% "scalacheck-derived" % "0.5.0"
),
libraryDependencies ++= Dependencies.logBinding.map(_ % Test),
)))
.aggregate(
core
)
lazy val core = (project in file("core"))
.settings(
name := "scim-scala-core",
publish / skip := false,
sonatypeProjectHosting := Some(GitHubHosting("linkyard", "scim-scala", "mario.siegenthaler@linkyard.ch")),
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % Dependencies.cats,
"io.circe" %% "circe-generic" % Dependencies.circe,
"io.circe" %% "circe-optics" % "0.15.0",
"com.lihaoyi" %% "fastparse" % Dependencies.fastParse,
"io.circe" %% "circe-parser" % Dependencies.circe,
"io.circe" %% "circe-testing" % Dependencies.circe % Test,
),
libraryDependencies ++= Dependencies.logBinding,
)