-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
45 lines (43 loc) · 1.51 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
ThisBuild / organization := "com.dwolla"
ThisBuild / homepage := Option(url("https://github.com/Dwolla/natchez-smithy4s"))
ThisBuild / tlBaseVersion := "0.1"
ThisBuild / crossScalaVersions := Seq("2.13.16", "3.3.4")
ThisBuild / githubWorkflowScalaVersions := Seq("2.13", "3")
ThisBuild / tlJdkRelease := Option(8)
ThisBuild / tlFatalWarnings := githubIsWorkflowBuild.value
ThisBuild / startYear := Option(2024)
ThisBuild / licenses := Seq(License.MIT)
ThisBuild / developers := List(
Developer(
"bpholt",
"Brian Holt",
url("https://dwolla.com")
),
)
ThisBuild / tlSonatypeUseLegacyHost := true
ThisBuild / mergifyRequiredJobs ++= Seq("validate-steward")
ThisBuild / mergifyStewardConfig ~= { _.map {
_.withAuthor("dwolla-oss-scala-steward[bot]")
.withMergeMinors(true)
}}
ThisBuild / tlCiReleaseBranches += "main"
lazy val `natchez-smithy4s` = crossProject(JVMPlatform, JSPlatform)
.crossType(CrossType.Pure)
.in(file("core"))
.settings(
Compile / smithy4sInputDirs := List(
baseDirectory.value.getParentFile / "src" / "main" / "smithy",
),
libraryDependencies ++= {
Seq(
"com.disneystreaming.smithy4s" %%% "smithy4s-core" % smithy4sVersion.value,
"com.disneystreaming.smithy4s" %%% "smithy4s-json" % smithy4sVersion.value,
"org.tpolecat" %%% "natchez-core" % "0.3.7",
)
},
)
.enablePlugins(Smithy4sCodegenPlugin)
lazy val root = tlCrossRootProject
.aggregate(`natchez-smithy4s`)
.enablePlugins(NoPublishPlugin)