Skip to content

Commit a450123

Browse files
authored
Update sbt to 1.11.7, sbt-mdoc to 2.8.0, sbt-java-formatter to 0.10.0… (#5815)
1 parent d59d494 commit a450123

File tree

25 files changed

+83
-45
lines changed

25 files changed

+83
-45
lines changed

.sbtopts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@
55
-Dscio.ignoreVersionWarning=true
66
-Dorg.slf4j.simpleLogger.defaultLogLevel=info
77
-Dorg.slf4j.simpleLogger.logFile=scio.log
8+
# required for sbt-java-formatter
9+
-J--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
10+
-J--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
11+
-J--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
12+
-J--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
13+
-J--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED

build.sbt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ val magnoliaVersion = "1.1.10"
104104
val magnolifyVersion = "0.7.4"
105105
val metricsVersion = "4.2.37"
106106
val munitVersion = "1.2.1"
107-
val neo4jDriverVersion = "4.4.20"
107+
val neo4jDriverVersion = "4.4.21"
108108
val ndArrayVersion = "0.3.3"
109109
val parquetExtraVersion = "0.4.3"
110110
val parquetVersion = "1.16.0"
111-
val pprintVersion = "0.9.0"
111+
val pprintVersion = "0.9.4"
112112
val protobufGenericVersion = "0.2.9"
113-
val scalacheckVersion = "1.18.1"
114-
val scalaCollectionCompatVersion = "2.13.0"
113+
val scalacheckVersion = "1.18.0"
114+
val scalaCollectionCompatVersion = "2.14.0"
115115
val scalaMacrosVersion = "2.1.1"
116116
val scalatestVersion = "3.2.19"
117117
val shapelessVersion = "2.3.13"
@@ -1909,7 +1909,7 @@ lazy val integration = project
19091909
"com.google.guava" % "guava" % guavaVersion,
19101910
"com.google.http-client" % "google-http-client" % gcpBom.key.value,
19111911
"com.google.protobuf" % "protobuf-java" % protobufVersion,
1912-
"com.microsoft.sqlserver" % "mssql-jdbc" % "13.2.0.jre11",
1912+
"com.microsoft.sqlserver" % "mssql-jdbc" % "13.2.1.jre11",
19131913
"joda-time" % "joda-time" % jodaTimeVersion,
19141914
"org.apache.beam" % "beam-sdks-java-core" % beamVersion,
19151915
"org.apache.beam" % "beam-sdks-java-io-google-cloud-platform" % beamVersion,

project/build.properties

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

project/plugins.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.6.0")
99
addSbtPlugin("com.here.platform" % "sbt-bom" % "1.0.30")
1010
addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.10.7")
1111
addSbtPlugin("com.lightbend.sbt" % "sbt-bill-of-materials" % "1.0.2")
12-
addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.8.0")
12+
addSbtPlugin("com.github.sbt" % "sbt-java-formatter" % "0.10.0")
1313
addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.8")
1414
addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.2")
1515
addSbtPlugin("com.github.sbt" % "sbt-ghpages" % "0.9.0")
1616
addSbtPlugin("com.github.sbt" % "sbt-site" % "1.7.0")
1717
addSbtPlugin("com.github.sbt" % "sbt-site-paradox" % "1.7.0")
1818
addSbtPlugin("com.github.sbt" % "sbt-paradox-material-theme" % "0.7.0")
19-
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.7.2")
19+
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.8.0")
2020
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.4.1")
2121
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.8")
2222

scalafix/project/build.properties

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

scio-core/src/main/java/com/spotify/scio/options/ScioOptions.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ enum CheckEnabled {
8181
void setNullableCoders(boolean value);
8282

8383
@Description(
84-
"Colon-separated mapping of fully-qualified class name to location of Zstd dictionary for that class com.MyClass:gs://bucket/file.bin")
84+
"Colon-separated mapping of fully-qualified class name to location of Zstd dictionary for"
85+
+ " that class com.MyClass:gs://bucket/file.bin")
8586
List<String> getZstdDictionary();
8687

8788
void setZstdDictionary(List<String> value);

scio-examples/src/main/java/org/apache/beam/examples/WindowedWordCount.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
*/
9292
public class WindowedWordCount {
9393
static final int WINDOW_SIZE = 10; // Default window duration in minutes
94+
9495
/**
9596
* Concept #2: A DoFn that sets the data element timestamp. This is a silly method, just for this
9697
* example, for the bounded data case.

scio-examples/src/main/java/org/apache/beam/examples/complete/game/GameStats.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ public void processElement(ProcessContext c) {
150150
return filtered;
151151
}
152152
}
153+
153154
// [END DocInclude_AbuseDetect]
154155

155156
/** Calculate and output an element's session duration. */

scio-examples/src/main/java/org/apache/beam/examples/complete/game/LeaderBoard.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ public PCollection<KV<String, Integer>> expand(PCollection<GameActionInfo> infos
276276
.apply("ExtractTeamScore", new ExtractAndSumScore("team"));
277277
}
278278
}
279+
279280
// [END DocInclude_WindowAndTrigger]
280281

281282
// [START DocInclude_ProcTimeTrigger]

scio-examples/src/main/java/org/apache/beam/examples/complete/game/UserScore.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ public PCollection<KV<String, Integer>> expand(PCollection<GameActionInfo> gameI
169169
.apply(Sum.integersPerKey());
170170
}
171171
}
172+
172173
// [END DocInclude_USExtractXform]
173174

174175
/** Options supported by {@link UserScore}. */

0 commit comments

Comments
 (0)