)]}'
{
  "commit": "5ea3536790856ce6f70eb85cd8da9e3c4c19ab78",
  "tree": "75b60217a789e44a4616a7263d3a49d5b1d9e90c",
  "parents": [
    "02d20b3fec8477b8b1a0cc72567c92577e733e68"
  ],
  "author": {
    "name": "jesswrd",
    "email": "jesswon@google.com",
    "time": "Thu Jul 09 11:49:00 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Jul 09 18:49:00 2026 +0000"
  },
  "message": "[AGP 9] Update Warn Version to AGP 9+ (#189109)\n\nRaised warn version to AGP 9.0.1 and error version to right before AGP 9\nfor upcoming stable release. This way, most Flutter Android developers\nwill upgrade their AGP version to 9.0.1, which means they will start\nseeing the Built-in Kotlin migration warnings.\n\nSince I intend on CP-ing this to beta, this PR contains the minimum\nrequired changes to raise the warn version to AGP 9.0.1 and the error\nversion to 9.0.1. As in I changed\n`packages/flutter_tools/gradle/src/main/kotlin/DependencyVersionChecker.kt`\nand a lot of presubmits failed. All other changes had to be made in\norder to pass presubmits. The following test projects (or tests with\nprojects) had minimal dependency upgrades in a while, so tests failed\nbecause they fell below the error version:\n\n-\n`flutter/dev/integration_tests/module_host_with_custom_build_v2_embedding`\n-\n`flutter/dev/integration_tests/pure_android_host_apps/android_custom_host_app`\n-\n`flutter/packages/flutter_tools/test/integration.shard/test_data/deferred_components_project.dart`\n-\n`flutter/packages/flutter_tools/test/integration.shard/android_gradle_legacy_flutter_plugins_strings_in_comments_test.dart`\n-\n`flutter/dev/devicelab/bin/tasks/android_java17_dependency_smoke_tests.dart`\n-\n`flutter/packages/flutter_tools/test/android_java17_integration.shard/android_dependency_version.dart`\n\nIn this PR, I upgraded those dependency versions to the error version\n(the minimum change required). In a future PR (issue\n[here](https://github.com/flutter/flutter/issues/189119)), I will align\nthose project dependency versions with the current template versions (or\nat least a safer/modern version between the warn version and template\nversion).\n\n## Pre-launch Checklist\n\n- [x] I read the [Contributor Guide] and followed the process outlined\nthere for submitting PRs.\n- [x] I read the [AI contribution guidelines] and understand my\nresponsibilities, or I am not using AI tools.\n- [x] I read the [Tree Hygiene] wiki page, which explains my\nresponsibilities.\n- [x] I read and followed the [Flutter Style Guide], including [Features\nwe expect every widget to implement].\n- [x] I signed the [CLA].\n- [x] I listed at least one issue that this PR fixes in the description\nabove.\n- [x] I updated/added relevant documentation (doc comments with `///`).\n- [x] I added new tests to check the change I am making, or this PR is\n[test-exempt].\n- [x] I followed the [breaking change policy] and added [Data Driven\nFixes] where supported.\n- [x] All existing and new tests are passing.\n\nIf you need help, consider asking for advice on the #hackers-new channel\non [Discord].\n\nIf this change needs to override an active code freeze, provide a\ncomment explaining why. The code freeze workflow can be overridden by\ncode reviewers. See pinned issues for any active code freezes with\nguidance.\n\n**Note**: The Flutter team is currently trialing the use of [Gemini Code\nAssist for\nGitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).\nComments from the `gemini-code-assist` bot should not be taken as\nauthoritative feedback from the Flutter team. If you find its comments\nuseful you can update your code accordingly, but if you are unsure or\ndisagree with the feedback, please feel free to wait for a Flutter team\nmember\u0027s review for guidance on which automated comments should be\naddressed.\n\n\u003c!-- Links --\u003e\n[Contributor Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview\n[AI contribution guidelines]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines\n[Tree Hygiene]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md\n[test-exempt]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests\n[Flutter Style Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md\n[Features we expect every widget to implement]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement\n[CLA]: https://cla.developers.google.com/\n[flutter/tests]: https://github.com/flutter/tests\n[breaking change policy]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes\n[Discord]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md\n[Data Driven Fixes]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f2ba37901da19f5e4cafd5973a7bf38d89438ba1",
      "old_mode": 33188,
      "old_path": "dev/devicelab/bin/tasks/android_java17_dependency_smoke_tests.dart",
      "new_id": "9bf9983dafcf1310137196d7dd4a76e585c5e73c",
      "new_mode": 33188,
      "new_path": "dev/devicelab/bin/tasks/android_java17_dependency_smoke_tests.dart"
    },
    {
      "type": "modify",
      "old_id": "c20f32d4eee77681280d04bd47ca2da6909381f1",
      "old_mode": 33188,
      "old_path": "dev/integration_tests/module_host_with_custom_build_v2_embedding/build.gradle",
      "new_id": "59365ec27a943b2cc8e39ae8297de9e035e0fa65",
      "new_mode": 33188,
      "new_path": "dev/integration_tests/module_host_with_custom_build_v2_embedding/build.gradle"
    },
    {
      "type": "modify",
      "old_id": "37f853b1c84d2e2dd1c88441fcc755d7f6643668",
      "old_mode": 33188,
      "old_path": "dev/integration_tests/module_host_with_custom_build_v2_embedding/gradle/wrapper/gradle-wrapper.properties",
      "new_id": "ca025c83a7cc5e4f5eb7bc7a5ff8cae62df35ffb",
      "new_mode": 33188,
      "new_path": "dev/integration_tests/module_host_with_custom_build_v2_embedding/gradle/wrapper/gradle-wrapper.properties"
    },
    {
      "type": "modify",
      "old_id": "c8e9b3523b65e9cb030497dedd33c90f2a808345",
      "old_mode": 33188,
      "old_path": "dev/integration_tests/pure_android_host_apps/android_custom_host_app/build.gradle",
      "new_id": "d0248f02f6d0dda484663c815e1f6428458d7bb7",
      "new_mode": 33188,
      "new_path": "dev/integration_tests/pure_android_host_apps/android_custom_host_app/build.gradle"
    },
    {
      "type": "modify",
      "old_id": "4af5d3a25670a8f608c421007403141af862dfc5",
      "old_mode": 33188,
      "old_path": "dev/integration_tests/pure_android_host_apps/android_custom_host_app/gradle/wrapper/gradle-wrapper.properties",
      "new_id": "c28b98d53bb6098c5b96c36be1d9f26ef3481861",
      "new_mode": 33188,
      "new_path": "dev/integration_tests/pure_android_host_apps/android_custom_host_app/gradle/wrapper/gradle-wrapper.properties"
    },
    {
      "type": "modify",
      "old_id": "23186ac7e0f12187022dd2e3822d3e97541c7fb6",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/gradle/src/main/kotlin/DependencyVersionChecker.kt",
      "new_id": "28bd4c01cbed967b09669d650d8ab7259408129a",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/gradle/src/main/kotlin/DependencyVersionChecker.kt"
    },
    {
      "type": "modify",
      "old_id": "c787783c6fa2c7e742f9906e73b0f44574302214",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/gradle/src/test/kotlin/DependencyVersionCheckerTest.kt",
      "new_id": "99c7b6291c44d4b35c92ab1e851d2825701d82a0",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/gradle/src/test/kotlin/DependencyVersionCheckerTest.kt"
    },
    {
      "type": "modify",
      "old_id": "bbb707be8dfa712a08cc5ed7c4f0c9372d9e8c99",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/android/gradle_utils.dart",
      "new_id": "770e287a4d2f4b32f15e871ced17d750c1237149",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/android/gradle_utils.dart"
    },
    {
      "type": "modify",
      "old_id": "1bf951db5f55836ca8914d3d437c151e2218e7b4",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/android_java17_integration.shard/android_dependency_version_checking_test.dart",
      "new_id": "6aa89b25a9fe4ae5af60f01ec4be85e6442a324a",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/android_java17_integration.shard/android_dependency_version_checking_test.dart"
    },
    {
      "type": "modify",
      "old_id": "88f83a6094f3422c65a40cfdbfc4fe13c4b4db5a",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/android/gradle_utils_test.dart",
      "new_id": "53aefc775bec8c0d0541d1a96bb28e69214701a2",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/android/gradle_utils_test.dart"
    },
    {
      "type": "modify",
      "old_id": "c94ad86ade563b347ab49aa956df4e80b6e13648",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/integration.shard/android_gradle_legacy_flutter_plugins_strings_in_comments_test.dart",
      "new_id": "7b7d70c7a5a46e96156965fe945a24f443a89536",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/integration.shard/android_gradle_legacy_flutter_plugins_strings_in_comments_test.dart"
    },
    {
      "type": "modify",
      "old_id": "247654bfc380b8eae8b0613215d99b3c0c6b7340",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/integration.shard/test_data/deferred_components_project.dart",
      "new_id": "bfaec31a28e33ded2fd71bfe738b046d9a8c2247",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/integration.shard/test_data/deferred_components_project.dart"
    }
  ]
}
