Skip to content

Commit 96a197c

Browse files
authored
Merge pull request #217 from mkurz/deps
Update all dependencies + scalafmt
2 parents 4a2d882 + 94168fb commit 96a197c

File tree

6 files changed

+18
-15
lines changed

6 files changed

+18
-15
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
target
22
.idea
3+
.bsp/

.scalafmt.conf

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
version = 3.8.3
1+
version = 3.9.4
22

33
style = defaultWithAlign
44

5-
docstrings = JavaDoc
6-
indentOperator = spray
5+
runner.dialect = scala212
6+
docstrings.style = Asterisk
7+
indentOperator.preset = spray
78
maxColumn = 120
89
rewrite.rules = [RedundantParens, SortImports, AvoidInfix]
9-
unindentTopLevelOperators = true
10+
indentOperator.topLevelOnly = false
1011
align.tokens = [{code = "=>", owner = "Case"}]
1112
align.openParenDefnSite = false
1213
align.openParenCallSite = false
1314
optIn.breakChainOnFirstMethodDot = false
1415
optIn.configStyleArguments = false
15-
danglingParentheses = false
16+
danglingParentheses.preset = false
1617
spaces.inImportCurlyBraces = true
1718
rewrite.neverInfix.excludeFilters = [
1819
and
@@ -49,4 +50,4 @@ rewriteTokens = {
4950
"⇒": "=>"
5051
"→": "->"
5152
"←": "<-"
52-
}
53+
}

build.sbt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ lazy val plugin = project
99
organizationHomepage := Some(url("https://lightbend.com")),
1010
name := "sbt-java-formatter",
1111
homepage := scmInfo.value.map(_.browseUrl),
12-
scmInfo := Some(ScmInfo(url("https://github.com/sbt/sbt-java-formatter"), "scm:git:[email protected]:sbt/sbt-java-formatter.git")),
13-
developers := List(Developer("ktoso", "Konrad 'ktoso' Malawski", "<[email protected]>", url("https://github.com/ktoso"))),
12+
scmInfo := Some(
13+
ScmInfo(url("https://github.com/sbt/sbt-java-formatter"), "scm:git:[email protected]:sbt/sbt-java-formatter.git")),
14+
developers := List(
15+
Developer("ktoso", "Konrad 'ktoso' Malawski", "<[email protected]>", url("https://github.com/ktoso"))),
1416
libraryDependencies ++= Seq("com.google.googlejavaformat" % "google-java-format" % "1.7"),
1517
startYear := Some(2015),
1618
description := "Formats Java code in your project.",
@@ -24,6 +26,5 @@ lazy val plugin = project
2426
Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
2527
},
2628
scriptedBufferLog := false,
27-
scalafmtOnCompile := true,
28-
)
29+
scalafmtOnCompile := true)
2930
.enablePlugins(AutomateHeaderPlugin)

plugin/src/main/scala/com/lightbend/sbt/javaformatter/JavaFormatter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ object JavaFormatter {
6767

6868
implicit val analysisIso = LList.iso(
6969
{ a: Analysis => ("failedCheck", a.failedCheck) :*: LNil },
70-
{ in: (Set[File] :*: LNil) =>
70+
{ in: Set[File] :*: LNil =>
7171
Analysis(in.head)
7272
})
7373
}

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.7.3
1+
sbt.version=1.10.11

project/plugins.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.0")
2-
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
1+
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")
2+
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.4")
33
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0")
44
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.0")
5-
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.0")
5+
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.3")
66

77
libraryDependencies += "org.scala-sbt" %% "scripted-plugin" % sbtVersion.value

0 commit comments

Comments
 (0)