This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
50 lines (41 loc) · 1.5 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
ThisBuild / tlBaseVersion := "0.1"
ThisBuild / organization := "org.polyvariant"
ThisBuild / organizationName := "Polyvariant"
ThisBuild / startYear := Some(2022)
ThisBuild / licenses := Seq(License.Apache2)
ThisBuild / developers := List(tlGitHubDev("kubukoz", "Jakub Kozłowski"))
ThisBuild / tlSonatypeUseLegacyHost := false
def crossPlugin(x: sbt.librarymanagement.ModuleID) = compilerPlugin(x.cross(CrossVersion.full))
val compilerPlugins = List(
crossPlugin("org.polyvariant" % "better-tostring" % "0.3.17")
)
val Scala213 = "2.13.8"
ThisBuild / scalaVersion := Scala213
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11"))
Global / onChangedBuildSource := ReloadOnSourceChanges
ThisBuild / tlFatalWarnings := false
ThisBuild / tlFatalWarningsInCi := false
val commonSettings = Seq(
libraryDependencies ++= compilerPlugins ++ Seq(
"com.disneystreaming" %%% "weaver-cats" % "0.7.15" % Test,
"com.disneystreaming" %%% "weaver-discipline" % "0.7.15" % Test,
"com.disneystreaming" %%% "weaver-scalacheck" % "0.7.15" % Test,
),
testFrameworks += new TestFramework("weaver.framework.CatsEffect"),
)
lazy val core = project
.settings(
name := "smithy-api-diff",
commonSettings,
libraryDependencies ++= Seq(
"software.amazon.smithy" % "smithy-model" % "1.24.0",
"org.typelevel" %% "cats-core" % "2.8.0",
),
)
lazy val root = project
.in(file("."))
.aggregate(core)
.settings(
Compile / doc / sources := Seq()
)
.enablePlugins(NoPublishPlugin)