Skip to content

Commit 75515c7

Browse files
committed
[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`. - apache#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 apache#381 from dongjoon-hyun/SPARK-53863. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 9423208 commit 75515c7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

deploy.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
* under the License.
1818
*/
1919

20-
if (project.hasProperty('release') && JavaVersion.current().getMajorVersion().toString() != '17') {
21-
throw new GradleException("Releases must be built with Java 17")
22-
}
23-
2420
subprojects {
2521
apply plugin: 'org.cyclonedx.bom'
2622
apply plugin: 'maven-publish'

0 commit comments

Comments
 (0)