-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #560 from http4s/scalafmt-3.0.2
Update `Scalafmt` to 3.0.2
- Loading branch information
Showing
66 changed files
with
729 additions
and
567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version = 2.7.5 | ||
version = 3.0.2 | ||
|
||
style = default | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,23 +31,32 @@ lazy val commonSettings = Seq( | |
}, | ||
run / fork := true, | ||
developers ++= List( | ||
Developer("bryce-anderson" , "Bryce L. Anderson" , "[email protected]" , url("https://github.com/bryce-anderson")), | ||
Developer("rossabaker" , "Ross A. Baker" , "[email protected]" , url("https://github.com/rossabaker")), | ||
Developer("ChristopherDavenport" , "Christopher Davenport" , "[email protected]" , url("https://github.com/ChristopherDavenport")) | ||
Developer( | ||
"bryce-anderson", | ||
"Bryce L. Anderson", | ||
"[email protected]", | ||
url("https://github.com/bryce-anderson")), | ||
Developer( | ||
"rossabaker", | ||
"Ross A. Baker", | ||
"[email protected]", | ||
url("https://github.com/rossabaker")), | ||
Developer( | ||
"ChristopherDavenport", | ||
"Christopher Davenport", | ||
"[email protected]", | ||
url("https://github.com/ChristopherDavenport")) | ||
), | ||
|
||
licenses := Seq("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.html")), | ||
|
||
homepage := Some(url("https://github.com/http4s/blaze")), | ||
|
||
scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/http4s/blaze"), | ||
"scm:git:https://github.com/http4s/blaze.git", | ||
Some("scm:git:[email protected]:http4s/blaze.git") | ||
) | ||
), | ||
startYear := Some(2014), | ||
startYear := Some(2014) | ||
) | ||
|
||
ThisBuild / githubWorkflowJavaVersions := Seq("[email protected]") | ||
|
@@ -65,7 +74,8 @@ ThisBuild / githubWorkflowBuild := Seq( | |
WorkflowStep.Sbt(List("validate-ci")) | ||
) | ||
|
||
lazy val blaze = project.in(file(".")) | ||
lazy val blaze = project | ||
.in(file(".")) | ||
.enablePlugins(Http4sOrgPlugin) | ||
.enablePlugins(NoPublishPlugin) | ||
.settings(commonSettings) | ||
|
@@ -93,7 +103,8 @@ lazy val core = Project("blaze-core", file("core")) | |
buildInfoOptions += BuildInfoOption.BuildTime, | ||
mimaBinaryIssueFilters ++= Seq( | ||
// private constructor for which there are no sensible defaults | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("org.http4s.blaze.channel.nio1.NIO1SocketServerGroup.this") | ||
ProblemFilters.exclude[DirectMissingMethodProblem]( | ||
"org.http4s.blaze.channel.nio1.NIO1SocketServerGroup.this") | ||
) | ||
) | ||
.dependsOn(testkit % Test) | ||
|
@@ -107,15 +118,19 @@ lazy val http = Project("blaze-http", file("http")) | |
// Test Dependencies | ||
libraryDependencies += asyncHttpClient % Test, | ||
mimaBinaryIssueFilters ++= Seq( | ||
ProblemFilters.exclude[MissingClassProblem]("org.http4s.blaze.http.http2.PingManager$PingState"), | ||
ProblemFilters.exclude[MissingClassProblem]("org.http4s.blaze.http.http2.PingManager$PingState$"), | ||
ProblemFilters.exclude[MissingClassProblem]("org.http4s.blaze.http.http2.client.ALPNClientSelector$ClientProvider"), | ||
ProblemFilters.exclude[MissingClassProblem]("org.http4s.blaze.http.http2.server.ALPNServerSelector$ServerProvider") | ||
ProblemFilters.exclude[MissingClassProblem]( | ||
"org.http4s.blaze.http.http2.PingManager$PingState"), | ||
ProblemFilters.exclude[MissingClassProblem]( | ||
"org.http4s.blaze.http.http2.PingManager$PingState$"), | ||
ProblemFilters.exclude[MissingClassProblem]( | ||
"org.http4s.blaze.http.http2.client.ALPNClientSelector$ClientProvider"), | ||
ProblemFilters.exclude[MissingClassProblem]( | ||
"org.http4s.blaze.http.http2.server.ALPNServerSelector$ServerProvider") | ||
) | ||
) | ||
.dependsOn(testkit % Test, core % "test->test;compile->compile") | ||
|
||
lazy val examples = Project("blaze-examples",file("examples")) | ||
lazy val examples = Project("blaze-examples", file("examples")) | ||
.enablePlugins(NoPublishPlugin) | ||
.settings(commonSettings) | ||
.settings(Revolver.settings) | ||
|
@@ -124,7 +139,11 @@ lazy val examples = Project("blaze-examples",file("examples")) | |
/* Helper Functions */ | ||
|
||
// use it in the local development process | ||
addCommandAlias("validate", ";scalafmtCheckAll ;javafmtCheckAll ;+test:compile ;test ;unusedCompileDependenciesTest ;mimaReportBinaryIssues") | ||
addCommandAlias( | ||
"validate", | ||
";scalafmtCheckAll ;scalafmtSbtCheck ;javafmtCheckAll ;+test:compile ;test ;unusedCompileDependenciesTest ;mimaReportBinaryIssues") | ||
|
||
// use it in the CI pipeline | ||
addCommandAlias("validate-ci", ";scalafmtCheckAll ;javafmtCheckAll ;test ;unusedCompileDependenciesTest ;mimaReportBinaryIssues") | ||
addCommandAlias( | ||
"validate-ci", | ||
";scalafmtCheckAll ;scalafmtSbtCheck ;javafmtCheckAll ;test ;unusedCompileDependenciesTest ;mimaReportBinaryIssues") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.