Skip to content

[CALCITE-7020] Upgrade gradle from 8.7 to 8.14.4#4880

Open
snuyanzin wants to merge 1 commit intoapache:mainfrom
snuyanzin:calcite7020
Open

[CALCITE-7020] Upgrade gradle from 8.7 to 8.14.4#4880
snuyanzin wants to merge 1 commit intoapache:mainfrom
snuyanzin:calcite7020

Conversation

@snuyanzin
Copy link
Copy Markdown
Contributor

Jira Link

CALCITE-7020

The PR bumps gradle to 8.14.4 and fixes gradle warnings

Comment on lines +45 to +50
dirPermissions {
unix("775")
}
filePermissions {
unix("664")
}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dirMode and fileMode are deprecated

/** Cassandra resource. */
private static class CassandraResource
implements ExtensionContext.Store.CloseableResource {
implements AutoCloseable {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace deprecated interface

val testRuntimeOnly by configurations
testImplementation(platform("org.junit:junit-bom"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
Copy link
Copy Markdown
Contributor Author

@snuyanzin snuyanzin Apr 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kotlin 2.x requires this

com.github.johnrengelman.shadow.version=5.1.0
com.github.spotbugs.version=2.0.0
com.github.vlsi.vlsi-release-plugins.version=1.90
com.github.vlsi.vlsi-release-plugins.version=3.0.1
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a number of warnings came from old plugins

Comment on lines +86 to +87
asm.version=9.9.1
byte-buddy.version=1.18.8
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prepare for newer java

jsoup.version=1.11.3
junit4.version=4.13.2
junit5.version=5.9.1
junit5.version=5.10.5
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kotlin 2.x requires at least 5.10.x

@snuyanzin snuyanzin changed the title [CALCITE-7020] Upgrade gradle from 8.9 to 8.14.4 [CALCITE-7020] Upgrade gradle from 8.7 to 8.14.4 Apr 11, 2026
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how to review this change

@xiedeyantu
Copy link
Copy Markdown
Member

I seem to recall that upgrading Gradle would impact Java 8 support, but the CI tests indicate that everything is fine.

@snuyanzin
Copy link
Copy Markdown
Contributor Author

thank you for the review
I rebased and squashed commits
will merge soon

@snuyanzin
Copy link
Copy Markdown
Contributor Author

I seem to recall that upgrading Gradle would impact Java 8 support, but the CI tests indicate that everything is fine.

there was an issue with jacoco (because of stricter rules in newer gradle), finally I was able to resolve it (these lines https://github.com/apache/calcite/pull/4880/changes#diff-c0dfa6bc7a8685217f70a860145fbdf416d449eaff052fa28352c5cec1a98c06R291-R293)

@xiedeyantu
Copy link
Copy Markdown
Member

I seem to recall that upgrading Gradle would impact Java 8 support, but the CI tests indicate that everything is fine.

there was an issue with jacoco (because of stricter rules in newer gradle), finally I was able to resolve it (these lines https://github.com/apache/calcite/pull/4880/changes#diff-c0dfa6bc7a8685217f70a860145fbdf416d449eaff052fa28352c5cec1a98c06R291-R293)

Thanks for the explanation. I don't fully understand this part, but judging by the test results, it looks good.

@sonarqubecloud
Copy link
Copy Markdown

Other dependencies also bumped
com.github.vlsi.vlsi-release-plugins from 1.90 to 3.0.1
kotlin from 1.9.22 to 2.0.21
org.jetbrains.gradle.plugin.idea-ext from 0.5 to 1.4.1
jandex from 2.2.3.Final to 3.5.3
asm from 9.6 to 9.9.1
byte-buddy from 1.14.15 to 1.18.8
junit5 from 5.9.1 to 5.10.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants