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 <[email protected]>
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 <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
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: [email protected]
For additional commands, e-mail: [email protected]