This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 377371d  [SPARK-53409] Upgrade `Gradle` to 9.0.0
377371d is described below

commit 377371d6038c3440f3ee0e2163910ad5d4a8749e
Author: Dongjoon Hyun <dongj...@apache.org>
AuthorDate: Wed Aug 27 22:16:53 2025 -0700

    [SPARK-53409] Upgrade `Gradle` to 9.0.0
    
    ### What changes were proposed in this pull request?
    
    This PR aims to upgrade `Gradle` to 9.0.0.
    
    ### Why are the changes needed?
    
    `Gradle 9` is a new major release based on Java 17. We had better start 
with `Gradle 9` at `Spark K8s Operator v1.0.0`.
    
    - https://docs.gradle.org/9.0.0/release-notes.html
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, this is a dev-only change.
    
    ### How was this patch tested?
    
    Pass the CIs and check the following log.
    
    ```
    Welcome to Gradle 9.0.0!
    
    Here are the highlights of this release:
     - Configuration Cache is the recommended execution mode
     - Gradle requires JVM 17 or higher to run
     - Build scripts use Kotlin 2.2 and Groovy 4.0
     - Improved Kotlin DSL script compilation avoidance
    ```
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #301 from dongjoon-hyun/SPARK-53409.
    
    Authored-by: Dongjoon Hyun <dongj...@apache.org>
    Signed-off-by: Dongjoon Hyun <dongj...@apache.org>
---
 build-tools/docker/Dockerfile            | 2 +-
 gradle/wrapper/gradle-wrapper.properties | 4 ++--
 gradlew                                  | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/build-tools/docker/Dockerfile b/build-tools/docker/Dockerfile
index b4f9adb..554e47e 100644
--- a/build-tools/docker/Dockerfile
+++ b/build-tools/docker/Dockerfile
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-FROM gradle:8.14.3-jdk17-noble AS builder
+FROM gradle:9.0.0-jdk17-noble AS builder
 
 WORKDIR /app
 
diff --git a/gradle/wrapper/gradle-wrapper.properties 
b/gradle/wrapper/gradle-wrapper.properties
index 6783506..92f4c92 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -17,8 +17,8 @@
 
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
-distributionSha256Sum=bd71102213493060956ec229d946beee57158dbd89d0e62b91bca0fa2c5f3531
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
+distributionSha256Sum=8fad3d78296ca518113f3d29016617c7f9367dc005f932bd9d93bf45ba46072b
+distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
 networkTimeout=10000
 validateDistributionUrl=true
 zipStoreBase=GRADLE_USER_HOME
diff --git a/gradlew b/gradlew
index 77bbd0a..1682af8 100755
--- a/gradlew
+++ b/gradlew
@@ -89,11 +89,11 @@ APP_BASE_NAME=${0##*/}
 APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
 ' "$PWD" ) || exit
 if [ ! -e $APP_HOME/gradle/wrapper/gradle-wrapper.jar -a "$(command -v curl)" 
]; then
-    curl -o $APP_HOME/gradle/wrapper/gradle-wrapper.jar 
https://raw.githubusercontent.com/gradle/gradle/v8.14.3/gradle/wrapper/gradle-wrapper.jar
+    curl -o $APP_HOME/gradle/wrapper/gradle-wrapper.jar 
https://raw.githubusercontent.com/gradle/gradle/v9.0.0/gradle/wrapper/gradle-wrapper.jar
 fi
 # If the file still doesn't exist, let's try `wget` and cross our fingers
 if [ ! -e $APP_HOME/gradle/wrapper/gradle-wrapper.jar -a "$(command -v wget)" 
]; then
-    wget -O $APP_HOME/gradle/wrapper/gradle-wrapper.jar 
https://raw.githubusercontent.com/gradle/gradle/v8.14.3/gradle/wrapper/gradle-wrapper.jar
+    wget -O $APP_HOME/gradle/wrapper/gradle-wrapper.jar 
https://raw.githubusercontent.com/gradle/gradle/v9.0.0/gradle/wrapper/gradle-wrapper.jar
 fi
 
 # Use the maximum available, or set MAX_FD != -1 to use that value.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to