From ae490966eb9ee0d9cdd72d2a1911a1b3a4d8359f Mon Sep 17 00:00:00 2001 From: dejan2609 Date: Sat, 11 Oct 2025 05:15:47 +0200 Subject: [PATCH] MINOR: redundant scala-related code block is removed --- gradle/dependencies.gradle | 12 +----------- gradlewAll | 25 ------------------------- 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100755 gradlewAll diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index b85dc87d78fac..b4f6c0194bd45 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -22,17 +22,7 @@ ext { libs = [:] } -// Add Scala version -def defaultScala213Version = '2.13.17' -if (hasProperty('scalaVersion')) { - if (scalaVersion == '2.13') { - versions["scala"] = defaultScala213Version - } else { - versions["scala"] = scalaVersion - } -} else { - versions["scala"] = defaultScala213Version -} +versions["scala"] = scalaVersion /* Resolve base Scala version according to these patterns: 1. generally available Scala versions (such as: 2.13.z) corresponding base versions will be: 2.13 (respectively) diff --git a/gradlewAll b/gradlewAll deleted file mode 100755 index 21d6d7b752572..0000000000000 --- a/gradlewAll +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env sh - -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# 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. - -# Convenient way to invoke a gradle command with all Scala versions supported -# by default -# This script was originally designed to support multiple Scala versions (2.12 and 2.13), -# but as Scala 2.12 is no longer supported, this script is no longer necessary. -# We are keeping it for backwards compatibility. It will be removed in a future release. -echo "Warning: This script is deprecated and will be removed in a future release." -./gradlew "$@" -PscalaVersion=2.13 -