)]}'
{
  "commit": "4132703fe0ae7cf9dd0946e8ab6c1d64ee6906c2",
  "tree": "1327bd882535d4f3aed334e50c9497e8c2f105d4",
  "parents": [
    "08638602c4bda48aa175b7e6ac1dbfb54106eed7"
  ],
  "author": {
    "name": "Bartek Pacia",
    "email": "barpac02@gmail.com",
    "time": "Fri Jan 12 19:49:21 2024 +0100"
  },
  "committer": {
    "name": "dart-internal-monorepo",
    "email": "dart-internal-monorepo@dart-ci-internal.iam.gserviceaccount.com",
    "time": "Fri Jan 12 10:56:29 2024 -0800"
  },
  "message": "FlutterExtension: make fields non-static (#141463)\n\nThere\u0027s no issue for this PR. I can create one if requested.\n\n## Summary\n\nThis PR makes public fields of `FlutterExtension` non-static. The aim is to make migrating from Gradle Groovy DSL to Gradle Kotlin DSL easier for Flutter developers, because...\n\n### Without this PR\n\n**android/app/build.gradle.kts**\n\n```kotlin\nplugins {\n    id \"com.android.application\"\n    id \"dev.flutter.flutter-gradle-plugin\"\n}\n\nandroid {\n    namespace \u003d \"io.flutter.examples.hello_world\"\n    compileSdk \u003d FlutterExtension.compileSdkVersion\n\n    defaultConfig {\n        applicationId \u003d \"io.flutter.examples.hello_world\"\n        minSdk \u003d FlutterExtension.minSdkVersion\n        targetSdk \u003d FlutterExtension.targetSdkVersion\n        // ...\n    }\n}\n// ...\n```\n\nGroovy and Java allow accessing static fields of a class through its instance, but Kotlin is being more \"correct\" and disallows that.\n\n### With this PR\n\nThanks to this PR, the user won\u0027t have to replace `flutter` with FlutterExtension in some places, thus decreasing possible confusion.\n\n```kotlin\nplugins {\n    id \"com.android.application\"\n    id \"dev.flutter.flutter-gradle-plugin\"\n}\n\nandroid {\n    namespace \u003d \"io.flutter.examples.hello_world\"\n    compileSdk \u003d flutter.compileSdkVersion\n\n    defaultConfig {\n        applicationId \u003d \"io.flutter.examples.hello_world\"\n        minSdk \u003d flutter.minSdkVersion\n        targetSdk \u003d flutter.targetSdkVersion\n        // ...\n    }\n}\n// ...\n```\nhttps://dart.googlesource.com/external/github.com/flutter/flutter/+/dbf5f04b8605cc7f38ca122eabf7a4796b07ccb0\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b59cd11a76be5a6c32f7dfd014ed62e5c633b413",
      "old_mode": 33188,
      "old_path": "DEPS",
      "new_id": "48ad044a5cd8484fdf3b418acc8f9f2305020bac",
      "new_mode": 33188,
      "new_path": "DEPS"
    },
    {
      "type": "modify",
      "old_id": "f2a36c1daae74d71ddb3c03048815f650bc70f72",
      "old_mode": 33188,
      "old_path": "commits.json",
      "new_id": "9a9afd281db2aedb2f3794fb14974dccf2f1196f",
      "new_mode": 33188,
      "new_path": "commits.json"
    }
  ]
}
