-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
37 lines (31 loc) · 1.1 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
import Dependencies.*
name := "sharding-strategy"
organization := "com.evolutiongaming"
organizationName := "Evolution"
organizationHomepage := Some(url("https://evolution.com"))
homepage := Some(url("https://github.com/evolution-gaming/sharding-strategy"))
startYear := Some(2018)
crossScalaVersions := Seq("2.13.15")
scalaVersion := crossScalaVersions.value.head
scalacOptions := Seq(
"-release:17",
"-Xsource:3",
)
publishTo := Some(Resolver.evolutionReleases) // sbt-release
versionPolicyIntention := Compatibility.BinaryCompatible // sbt-version-policy
libraryDependencies ++= Seq(
`ddata-tools`,
`cats-helper`,
Akka.actor,
Akka.`distributed-data`,
Akka.cluster,
Akka.sharding,
Akka.testkit % Test,
Cats.core,
Cats.effect,
scalatest % Test)
licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT")))
//addCommandAlias("fmt", "scalafixAll; all scalafmtAll scalafmtSbt")
//addCommandAlias("check", "scalafixEnable; scalafixAll --check; all versionPolicyCheck scalafmtCheckAll scalafmtSbtCheck")
addCommandAlias("check", "versionPolicyCheck")
addCommandAlias("build", "all compile test")