Repository navigation
[tool] Exempt Kotlin DSL Gradle files like their Groovy equivalents - #13780
Conversation
The version and changelog validator exempts test-only dependency changes in build.gradle and example build files such as build.gradle and settings.gradle, but the plugin builds were converted to Kotlin DSL in flutter#11172 and flutter#11443, so build.gradle.kts and settings.gradle.kts were never matched. Dependabot test-dependency bumps such as flutter#13760 fail repo_checks as a result.
There was a problem hiding this comment.
Code Review
This pull request extends the version and changelog exemptions previously applied to build.gradle files to also cover Kotlin-based Gradle build files (build.gradle.kts and settings.gradle.kts). Specifically, it updates the utility functions to recognize these files as example build files and ensures that test-dependency-only changes in build.gradle.kts do not trigger version or changelog requirements. Corresponding unit tests have been added to verify this behavior. I have no feedback to provide.
stuartmorgan
left a comment
There was a problem hiding this comment.
Oops, sorry for missing that during the conversions! LGTM.
…er#197386) flutter/packages@f455dfa...105a874 2026-11-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Fix doc errors in the `OutlinedButton` and `TextButton` (flutter/packages#13739) 2026-11-25 magder@google.com [tool] Exempt Kotlin DSL Gradle files like their Groovy equivalents (flutter/packages#13780) 2026-11-24 stuart.morgan@gmail.com [video_player] Convert remaining code to Swift (flutter/packages#13643) 2026-11-24 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump org.mockito.kotlin:mockito-kotlin from 6.1.0 to 6.3.0 in /packages/cross_file/cross_file_android/android (flutter/packages#12933) 2026-11-24 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump org.json:json from 20260522 to 20260814 in /packages/in_app_purchase/in_app_purchase/example/android/app (flutter/packages#12569) 2026-11-24 49699333+dependabot[bot]@users.noreply.github.com Bump the all-github-actions group across 1 directory with 2 updates (flutter/packages#12289) 2026-11-24 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump the test-dependencies group across 9 directories with 2 updates (flutter/packages#13760) 2026-11-24 dkwingsmt@users.noreply.github.com [material_ui] Migrate RangeSlider API doc snippets to {@example} (batch 14) (flutter/packages#13725) 2026-11-24 15619084+vashworth@users.noreply.github.com [in_app_purchase_storekit] Fix test failure on Xcode 27.2 (flutter/packages#13778) 2026-11-24 engine-flutter-autoroll@skia.org Roll Flutter from 98744d3 to b75c5b3 (24 revisions) (flutter/packages#13777) If this roll has caused a breakage, revert this CL and set the roller to dry run mode using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Plugin builds were converted to Kotlin DSL in #11172 and #11443.
Dependabot test-dependency bumps such as #13760 fail repo_checks as a result. Match
build.gradle.ktsandsettings.gradle.kts.Fixes flutter/flutter#197358
Pre-Review Checklist
[shared_preferences]///).If you need help, consider asking for advice on the #hackers-new channel on Discord.
Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the
gemini-code-assistbot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.Footnotes
Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. ↩ ↩2