-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.sbt
More file actions
90 lines (69 loc) · 2.09 KB
/
build.sbt
File metadata and controls
90 lines (69 loc) · 2.09 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import Dependencies.*
name := "conhub"
organization := "com.evolutiongaming"
homepage := Some(url("https://github.com/evolution-gaming/conhub"))
startYear := Some(2018)
organizationName := "Evolution"
organizationHomepage := Some(url("https://evolution.com"))
scalaVersion := crossScalaVersions.value.head
crossScalaVersions := Seq("2.13.16", "3.3.3")
Compile / scalacOptions ++= {
if (scalaBinaryVersion.value == "2.13") {
Seq(
"-Xsource:3"
)
} else Seq.empty
}
Test / fork := true
publishTo := Some(Resolver.evolutionReleases)
libraryDependencies ++= Seq(
`scodec-bits`,
Akka.actor,
Akka.remote,
Akka.cluster,
Akka.testkit % Test,
Akka.stream,
Akka.protobuf,
AkkaTools.test % Test,
`config-tools`,
`future-helper`,
sequentially,
`scala-logging`,
`akka-serialization`,
cats,
`scala-tools` % Test,
scalatest % Test)
libraryDependencies ++= {
if (scalaBinaryVersion.value == "2.13") {
Seq(
`scodec-core1`,
)
} else {
Seq(
`scodec-core2`,
)
}
}
licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT")))
Compile / doc / scalacOptions ++= Seq("-groups", "-implicits", "-no-link-warnings")
versionScheme := Some("semver-spec")
addCommandAlias("check", "+all versionPolicyCheck Compile/doc")
addCommandAlias("build", "+all test package")
// Your next release will be binary compatible with the previous one,
// but it may not be source compatible (ie, it will be a minor release).
ThisBuild / versionPolicyIntention := Compatibility.BinaryCompatible
/*
versionPolicyReportDependencyIssues ignored dependencies when compared to conhub 1.3.0.
All of those should not affect the library users, binary compatibility should be preserved.
Remember to clear up after 1.3.1 release!
*/
ThisBuild / versionPolicyIgnored ++= Seq(
/*
Examples:
//com.chuusai:shapeless_2.13: missing dependency
"com.chuusai" %% "shapeless",
//org.scala-lang.modules:scala-java8-compat_2.13:
// incompatible version change from 0.9.0 to 1.0.0 (compatibility: early semantic versioning)
"org.scala-lang.modules" %% "scala-java8-compat",
*/
)