This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 58e136c1e96 MINOR: Scala, Scalafmt and Scalac SCoverage plugin version
updates (#21086)
58e136c1e96 is described below
commit 58e136c1e96dbcad9f38b1e269c236e93344c8e4
Author: Dejan Stojadinović <[email protected]>
AuthorDate: Thu Dec 11 14:44:51 2025 +0100
MINOR: Scala, Scalafmt and Scalac SCoverage plugin version updates (#21086)
details:
- Scala: 2.13.17 -->> 2.13.18 (note: Java compatible
versions: from 8 to 26)
- Scalafmt: 3.10.0 -->> 3.10.2
- scalac scoverage plugin: 2.4.0 -->> 2.5.1
release notes:
- Scala: https://github.com/scala/scala/releases/tag/v2.13.18
- Scalafmt:
- https://github.com/scalameta/scalafmt/releases/tag/v3.10.1
- https://github.com/scalameta/scalafmt/releases/tag/v3.10.2
- scalac scoverage plugin:
```
https://github.com/scoverage/scalac-scoverage-plugin/releases/tag/v2.4.1
https://github.com/scoverage/scalac-scoverage-plugin/releases/tag/v2.4.2
https://github.com/scoverage/scalac-scoverage-plugin/releases/tag/v2.5.0
https://github.com/scoverage/scalac-scoverage-plugin/releases/tag/v2.5.1
```
> :warning: Note: I just had to format scalac scoverage plugin links
above like`code` due to a fact that github-actions bot is overzealous
(and it constantly forcing bad formatting by adding wrong oversized
heading).
Reviewers: Matthias J. Sax <[email protected]>, Ming-Yen Chung
<[email protected]>, Chia-Ping Tsai <[email protected]>
---
LICENSE-binary | 4 ++--
bin/kafka-run-class.sh | 2 +-
bin/windows/kafka-run-class.bat | 2 +-
checkstyle/.scalafmt.conf | 2 +-
gradle.properties | 2 +-
gradle/dependencies.gradle | 6 +++---
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/LICENSE-binary b/LICENSE-binary
index caed04086a5..94c701e5442 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -247,9 +247,9 @@ License Version 2.0:
- opentelemetry-proto-1.3.2-alpha
- plexus-utils-3.6.0
- rocksdbjni-10.1.3
-- scala-library-2.13.17
+- scala-library-2.13.18
- scala-logging_2.13-3.9.6
-- scala-reflect-2.13.17
+- scala-reflect-2.13.18
- snappy-java-1.1.10.7
- snakeyaml-2.4
- swagger-annotations-2.2.39
diff --git a/bin/kafka-run-class.sh b/bin/kafka-run-class.sh
index 012f9c27f0a..f619e40390f 100755
--- a/bin/kafka-run-class.sh
+++ b/bin/kafka-run-class.sh
@@ -49,7 +49,7 @@ should_include_file() {
base_dir=$(dirname $0)/..
if [ -z "$SCALA_VERSION" ]; then
- SCALA_VERSION=2.13.17
+ SCALA_VERSION=2.13.18
if [[ -f "$base_dir/gradle.properties" ]]; then
SCALA_VERSION=`grep "^scalaVersion=" "$base_dir/gradle.properties" | cut
-d= -f 2`
fi
diff --git a/bin/windows/kafka-run-class.bat b/bin/windows/kafka-run-class.bat
index 394269a4294..9a7cf3228c5 100755
--- a/bin/windows/kafka-run-class.bat
+++ b/bin/windows/kafka-run-class.bat
@@ -27,7 +27,7 @@ set BASE_DIR=%CD%
popd
IF ["%SCALA_VERSION%"] EQU [""] (
- set SCALA_VERSION=2.13.17
+ set SCALA_VERSION=2.13.18
)
IF ["%SCALA_BINARY_VERSION%"] EQU [""] (
diff --git a/checkstyle/.scalafmt.conf b/checkstyle/.scalafmt.conf
index a4a29735583..b869c7f19ae 100644
--- a/checkstyle/.scalafmt.conf
+++ b/checkstyle/.scalafmt.conf
@@ -12,7 +12,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-version = 3.10.0
+version = 3.10.2
runner.dialect = scala213
docstrings.style = Asterisk
docstrings.wrap = false
diff --git a/gradle.properties b/gradle.properties
index a5a99cd5692..605c296fec0 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -24,7 +24,7 @@ group=org.apache.kafka
# - streams/quickstart/java/src/main/resources/archetype-resources/pom.xml
# - streams/quickstart/java/pom.xml
version=4.3.0-SNAPSHOT
-scalaVersion=2.13.17
+scalaVersion=2.13.18
# Adding swaggerVersion in gradle.properties to have a single version in place
for swagger
swaggerVersion=2.2.39
task=build
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index d93f3f2d867..423e1fde330 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -23,7 +23,7 @@ ext {
}
// Add Scala version
-def defaultScala213Version = '2.13.17'
+def defaultScala213Version = '2.13.18'
if (hasProperty('scalaVersion')) {
if (scalaVersion == '2.13') {
versions["scala"] = defaultScala213Version
@@ -121,8 +121,8 @@ versions += [
// When updating the scalafmt version please also update the version field
in checkstyle/.scalafmt.conf. scalafmt now
// has the version field as mandatory in its configuration, see
// https://github.com/scalameta/scalafmt/releases/tag/v3.1.0.
- scalafmt: "3.10.0",
- scoverage: "2.4.0",
+ scalafmt: "3.10.2",
+ scoverage: "2.5.1",
slf4j: "1.7.36",
snappy: "1.1.10.7",
spotbugs: "4.9.8",