parent
87e7e6518c
commit
ee67c113e5
1 changed files with 27 additions and 17 deletions
|
|
@ -17,22 +17,32 @@ object AkkaDisciplinePlugin extends AutoPlugin with ScalafixSupport {
|
||||||
override def requires: Plugins = JvmPlugin && ScalafixPlugin
|
override def requires: Plugins = JvmPlugin && ScalafixPlugin
|
||||||
override lazy val projectSettings = disciplineSettings
|
override lazy val projectSettings = disciplineSettings
|
||||||
|
|
||||||
val fatalWarningsFor = Set(
|
val nonFatalWarningsFor = Set(
|
||||||
"akka-actor",
|
// We allow warnings in docs to get the 'snippets' right
|
||||||
"akka-discovery",
|
"akka-docs",
|
||||||
"akka-distributed-data",
|
// To be removed from Akka
|
||||||
"akka-coordination",
|
"akka-agent",
|
||||||
"akka-protobuf",
|
"akka-camel",
|
||||||
"akka-stream-typed",
|
"akka-contrib",
|
||||||
"akka-cluster-typed",
|
// To be reviewed
|
||||||
"akka-persistence",
|
"akka-actor-typed",
|
||||||
"akka-cluster-tools",
|
"akka-actor-testkit-typed",
|
||||||
"akka-cluster-sharding",
|
"akka-actor-typed-tests",
|
||||||
"akka-stream",
|
"akka-cluster",
|
||||||
"akka-cluster-metrics",
|
"akka-cluster-sharding-typed",
|
||||||
"akka-slf4j",
|
"akka-bench-jmh",
|
||||||
"akka-remote-tests",
|
"akka-bench-jmh-typed",
|
||||||
"akka-actor-tests")
|
"akka-multi-node-testkit",
|
||||||
|
"akka-osgi",
|
||||||
|
"akka-persistence-tck",
|
||||||
|
"akka-persistence-typed",
|
||||||
|
"akka-persistence-query",
|
||||||
|
"akka-remote",
|
||||||
|
"akka-stream-testkit",
|
||||||
|
"akka-stream-tests",
|
||||||
|
"akka-stream-tests-tck",
|
||||||
|
"akka-testkit"
|
||||||
|
)
|
||||||
|
|
||||||
val strictProjects = Set("akka-discovery", "akka-protobuf", "akka-coordination")
|
val strictProjects = Set("akka-discovery", "akka-protobuf", "akka-coordination")
|
||||||
|
|
||||||
|
|
@ -55,7 +65,7 @@ object AkkaDisciplinePlugin extends AutoPlugin with ScalafixSupport {
|
||||||
silencerSettings ++
|
silencerSettings ++
|
||||||
scoverageSettings ++ Seq(
|
scoverageSettings ++ Seq(
|
||||||
Compile / scalacOptions ++= (
|
Compile / scalacOptions ++= (
|
||||||
if (!scalaVersion.value.startsWith("2.11") && fatalWarningsFor(name.value)) Seq("-Xfatal-warnings")
|
if (!scalaVersion.value.startsWith("2.11") && !nonFatalWarningsFor(name.value)) Seq("-Xfatal-warnings")
|
||||||
else Seq.empty
|
else Seq.empty
|
||||||
),
|
),
|
||||||
Test / scalacOptions --= testUndicipline,
|
Test / scalacOptions --= testUndicipline,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue