-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Formatting: use
redundantBraces.oneStatApply
- Loading branch information
Showing
54 changed files
with
809 additions
and
813 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
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 |
---|---|---|
|
@@ -16,28 +16,30 @@ def isCI = System.getenv("CI") != null | |
def scala212 = "2.12.20" | ||
def scala213 = "2.13.15" | ||
|
||
inThisBuild(List( | ||
version ~= { dynVer => | ||
if (isCI) dynVer else localSnapshotVersion // only for local publishing | ||
}, | ||
organization := "org.scalameta", | ||
homepage := Some(url("https://github.com/scalameta/scalafmt")), | ||
licenses := | ||
List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), | ||
developers := List(Developer( | ||
"olafurpg", | ||
"Ólafur Páll Geirsson", | ||
"[email protected]", | ||
url("https://geirsson.com"), | ||
)), | ||
scalaVersion := scala213, | ||
crossScalaVersions := List(scala213, scala212), | ||
resolvers ++= Resolver.sonatypeOssRepos("releases"), | ||
resolvers ++= Resolver.sonatypeOssRepos("snapshots"), | ||
testFrameworks += new TestFramework("munit.Framework"), | ||
// causes native image issues | ||
dependencyOverrides += "org.jline" % "jline" % "3.28.0", | ||
)) | ||
inThisBuild { | ||
List( | ||
version ~= { dynVer => | ||
if (isCI) dynVer else localSnapshotVersion // only for local publishing | ||
}, | ||
organization := "org.scalameta", | ||
homepage := Some(url("https://github.com/scalameta/scalafmt")), | ||
licenses := | ||
List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), | ||
developers := List(Developer( | ||
"olafurpg", | ||
"Ólafur Páll Geirsson", | ||
"[email protected]", | ||
url("https://geirsson.com"), | ||
)), | ||
scalaVersion := scala213, | ||
crossScalaVersions := List(scala213, scala212), | ||
resolvers ++= Resolver.sonatypeOssRepos("releases"), | ||
resolvers ++= Resolver.sonatypeOssRepos("snapshots"), | ||
testFrameworks += new TestFramework("munit.Framework"), | ||
// causes native image issues | ||
dependencyOverrides += "org.jline" % "jline" % "3.28.0", | ||
) | ||
} | ||
|
||
name := "scalafmtRoot" | ||
publish / skip := true | ||
|
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
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.