play build versionCode source check: follow a variable (def / ext. / val) to its definition; a variable read from the property is not flagged

This commit is contained in:
CRTkafa 2026-10-12 11:34:41 +08:00
parent 0b1451800c
commit 2e7dd44ae6
3 changed files with 23 additions and 2 deletions

View file

@ -2,6 +2,10 @@
## Unreleased
- Fix (`play build` / `check` versionCode source warning): a variable set from the property first
(`def code = (project.findProperty('versionCode') ?: ...).toInteger()`, then `versionCode code`; also `ext.` and Kotlin
`val`) is followed to its definition and no longer flagged.
- Fix (`apple iap-submit`, `apple resubmit`): after the owner canceled a submission, every IAP version was
DEVELOPER_REJECTED and the plan skipped them all ("change it in App Store Connect (or --new-version)", then
"nothing to submit"). Apple accepts the same version again (201 READY_FOR_REVIEW, then the submit 200), so