You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2025/10/10 03:51:18 UTC
(spark-kubernetes-operator) branch main updated: [SPARK-53863] Remove `Java 17` requirement from `deploy.gradle`
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 75515c7 [SPARK-53863] Remove `Java 17` requirement from `deploy.gradle`
75515c7 is described below
commit 75515c752086853b1676cff39c7fc84b99163dc0
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Thu Oct 9 20:51:09 2025 -0700
[SPARK-53863] Remove `Java 17` requirement from `deploy.gradle`
### What changes were proposed in this pull request?
This PR aims to remove `Java 17` requirement from `deploy.gradle`.
### Why are the changes needed?
After the following, Java 17 requirement is not required because our tool chain will use Java 25 always with `release: 17`.
- #336
### Does this PR introduce _any_ user-facing change?
No behavior change.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #381 from dongjoon-hyun/SPARK-53863.
Authored-by: Dongjoon Hyun <do...@apache.org>
Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
deploy.gradle | 4 ----
1 file changed, 4 deletions(-)
diff --git a/deploy.gradle b/deploy.gradle
index 0831e3a..a89345e 100644
--- a/deploy.gradle
+++ b/deploy.gradle
@@ -17,10 +17,6 @@
* under the License.
*/
-if (project.hasProperty('release') && JavaVersion.current().getMajorVersion().toString() != '17') {
- throw new GradleException("Releases must be built with Java 17")
-}
-
subprojects {
apply plugin: 'org.cyclonedx.bom'
apply plugin: 'maven-publish'
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org