-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
26 lines (23 loc) · 988 Bytes
/
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
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.10"
lazy val root = (project in file("."))
.enablePlugins(Smithy4sCodegenPlugin, PlayScala)
.aggregate(api)
.dependsOn(api)
.settings(
scalaVersion := Dependencies.scalaVersion,
GithubConfig.settings,
name := "smithy4play-example",
scalacOptions += "-Ymacro-annotations",
libraryDependencies ++= Dependencies.list,
)
lazy val api = (project in file("modules/api"))
.enablePlugins(Smithy4sCodegenPlugin)
.settings(
scalaVersion := Dependencies.scalaVersion,
libraryDependencies ++= Dependencies.list,
GithubConfig.settings,
Compile / smithy4sInputDir := (ThisBuild / baseDirectory).value / "modules" / "api-definition" / "src" / "main" / "resources" / "META-INF" / "smithy",
Compile / smithy4sOutputDir := (ThisBuild / baseDirectory).value / "modules" / "api" / "src" / "main" / "scala"
)
lazy val apiDefinition = project in file("modules/api-definition")