)]}'
{
  "commit": "00fdecba4c1ce8d4302cc47305c8d4ab928a7fea",
  "tree": "5e90ccf3169831072a02a4d5418ab325e93924c9",
  "parents": [
    "0f355acd76a2a5b78e4477a0d1b4f821fb550bdd"
  ],
  "author": {
    "name": "larryxiao",
    "email": "romerxzh@gmail.com",
    "time": "Wed Apr 08 12:36:57 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Apr 08 12:37:18 2026 -0700"
  },
  "message": "Merge #473 by larryxiao625: feat(android_sdk_repository): support string-based platform API level\n\nPreviously, API levels were handled as integers, which prevented support for minor version formats like \"36.1\". This change migrates the entire android_sdk_repository rule to treat API levels as strings throughout. This is intend to fix #472\n\nChanges:\n- Rename `int_flag`/`_int_flag_impl` to `string_flag`/`_string_flag_impl` in helper.bzl; update config type and formatting from int to string\n- Update `_read_api_levels` in rule.bzl to use `is_android_revision` and store levels as strings; update default API level selection to parse and compare major.minor.micro components\n- Update all name/path/log formatting from `%d` to `%s` for api_level\n- Pass `default_api_level` as string in template.bzl\n- Add `test_platforms_with_minor_versions` test to verify \"36.1\" style API levels are correctly recognized and logged\nCloses #473\nCOPYBARA_INTEGRATE_REVIEW\u003dhttps://github.com/bazelbuild/rules_android/pull/473 from larryxiao625:feat/support_string_based_platform_api_levels 55ab067d69bf80401353b8009d8e1185cb1f1f1a\nPiperOrigin-RevId: 896644139\nChange-Id: Iea8569710ad53ac11b95ff3353bd83886223a2bf\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "86f57debfc44a4ff7a61e6c7195dc1ad83bced2b",
      "old_mode": 33188,
      "old_path": "rules/android_sdk_repository/helper.bzl",
      "new_id": "d6053d95302dc0f8ccccf50971fb11f1d148566c",
      "new_mode": 33188,
      "new_path": "rules/android_sdk_repository/helper.bzl"
    },
    {
      "type": "modify",
      "old_id": "f3d7431d5243be3a3e8f95aa6a65b52c870cb676",
      "old_mode": 33188,
      "old_path": "rules/android_sdk_repository/rule.bzl",
      "new_id": "34de2b53eec3148457f1a905b6ec1551cf10d5ba",
      "new_mode": 33188,
      "new_path": "rules/android_sdk_repository/rule.bzl"
    },
    {
      "type": "modify",
      "old_id": "be86c0af26a5e3857f4e72cf6aa27c8cdd9fde5e",
      "old_mode": 33188,
      "old_path": "rules/android_sdk_repository/template.bzl",
      "new_id": "0181a497466edababf0d89a12bbf1c590c96273f",
      "new_mode": 33188,
      "new_path": "rules/android_sdk_repository/template.bzl"
    },
    {
      "type": "modify",
      "old_id": "73db399dc7d28840e990caac8ff3a1c09406c567",
      "old_mode": 33261,
      "old_path": "test/rules/android_sdk_repository/android_sdk_repository_test.sh",
      "new_id": "8539ae9ebb2bbe1115992e262b24bf26d0c390b0",
      "new_mode": 33261,
      "new_path": "test/rules/android_sdk_repository/android_sdk_repository_test.sh"
    }
  ]
}
