Skip to content

KAFKA-20103 properties value assignment syntax changed to 'propName = value' (in order to comply with future requirements announced for Gradle 10) - #21373

Open
dejan2609 wants to merge 1 commit into
apache:trunkfrom
dejan2609:KAFKA-20103

Conversation

@dejan2609

@dejan2609 dejan2609 commented Jan 29, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note for reviewers: skip to this comment: #21373 (comment)


Related link: https://docs.gradle.org/9.4.1/userguide/upgrading_version_8.html#groovy_space_assignment_syntax

JIRA ticket: KAFKA-20103

Reviewers: Shivamrut gshivamrut@gmail.com

@github-actions github-actions Bot added triage PRs from the community build Gradle build or GitHub Actions small Small PRs labels Jan 29, 2026
@dejan2609

Copy link
Copy Markdown
Contributor Author

FYI @chia7712

@github-actions

github-actions Bot commented Feb 6, 2026

Copy link
Copy Markdown

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

@github-actions

Copy link
Copy Markdown

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

@github-actions

Copy link
Copy Markdown

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

@github-actions

Copy link
Copy Markdown

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

@dejan2609

Copy link
Copy Markdown
Contributor Author

Demoting to a draft for a few days (weeks) until I get some time to doublecheck it.

@dejan2609
dejan2609 marked this pull request as draft April 21, 2026 17:53
@github-actions

Copy link
Copy Markdown

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

@github-actions

Copy link
Copy Markdown

This PR is being marked as stale since it has not had any activity in 90 days. If you
would like to keep this PR alive, please leave a comment asking for a review. If the PR has
merge conflicts, update it with the latest from the base branch.

If you are having difficulty finding a reviewer, please reach out on the [mailing list](https://kafka.apache.org/contact).

If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed.

@github-actions github-actions Bot added stale Stale PRs and removed needs-attention stale Stale PRs labels Jul 22, 2026
@github-actions

Copy link
Copy Markdown

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

@Shivamrut

Copy link
Copy Markdown

Hi @dejan2609 I noticed this is still in draft and marked stale. I’d be happy to help get this PR completed/merged. Rebase on latest trunk, run ./gradlew releaseTarGz with --warning-mode all, and mark ready for review if you’re busy. Just offering to collaborate.
CC - @chia7712

@dejan2609

dejan2609 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Hi @Shivamrut ! Solution is actually working as expected (and I just rebased it onto trunk without a single conflict 🙂) but the real question is: should we try to merge it now or just before (during ?) Gradle major version upgrade from 9 to 10 ?

Prologue (why we need to do this at some point): https://docs.gradle.org/9.4.1/userguide/upgrading_version_8.html#groovy_space_assignment_syntax

These generated methods are now deprecated and will be removed in Gradle 10, and both propertyName value and propertyName(value) will stop working unless the explicit method propertyName is defined. Use explicit assignment propertyName = value instead.

Test procedure:

  1. Current trunk state problem report after ./gradlew clean rTG execution - propName/value syntax related warnings are shown ⚠️:
image 2. This PR state problem report after `./gradlew clean rTG` execution - `propName/value` syntax related warnings are gone ✅: image

What is your take on this @chia7712 ?

@dejan2609
dejan2609 marked this pull request as ready for review July 28, 2026 22:18
@Shivamrut

Copy link
Copy Markdown

Hi @dejan2609 I verified it locally and your changes fix propName/value syntax related warnings as expected.
I think you should merge this now as its a small mechanical change with no real risk, and waiting for Gradle 10 would just delay work that’s already done. Please correct me if Im wrong.

@dejan2609

Copy link
Copy Markdown
Contributor Author

I see your point @Shivamrut, we could include this change into trunk now; however, deprecated propName/value syntax still could be used afterwards (until Gradle major version switches from 9 to 10, that is).

All-in-all, the question stays: should we merge it now or later ?
This is up to the owners/maintainers/committers to decide (I can't do it on my own, I am just a contributor).

@mimaison, @chia7712, @clolov: please squeeze some time and have your say 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Gradle build or GitHub Actions small Small PRs triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants