-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
52 lines (47 loc) · 1.56 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
// Global Settings
ThisBuild / scalaVersion := "2.13.8"
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / dynverSeparator := "-"
ThisBuild / conflictManager := ConflictManager.latestRevision
ThisBuild / javacOptions ++= Seq("-source", "17", "-target", "17")
ThisBuild / scalacOptions ++= Seq("-Ymacro-annotations", "-target:jvm-17")
inThisBuild(
Seq(
organization := "io.github.prom3th3us",
homepage := Some(url("https://github.com/prom3th3us/zio-actors-cassandra-journal")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"ffakenz",
"Franco Testagrossa",
url("https://github.com/ffakenz")
)
),
sonatypeCredentialHost := "s01.oss.sonatype.org",
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
)
)
import Settings._
lazy val root = (project in file("."))
.settings(ThisBuild / skip / publish := true)
.settings(CommandAliases.aliases)
.aggregate(journal, example)
lazy val example = project
.settings(ThisBuild / skip / publish := true)
.settings(commonSettings, scalafixSettings)
.dependsOn(journal)
lazy val journal = project
.settings(
name := "zio-actors-cassandra-journal"
)
.settings(commonSettings, scalafixSettings)
.settings(
libraryDependencies ++= Seq(
Dependencies.Zio.all,
Dependencies.Quill.all,
Dependencies.Cassandra.all,
Dependencies.Jackson.all
).flatten
)
.enablePlugins(AshScriptPlugin)