1. 14 Feb, 2024 1 commit
  2. 13 Feb, 2024 1 commit
  3. 12 Feb, 2024 1 commit
  4. 08 Feb, 2024 1 commit
    • Gray Mackall's avatar
      [Re-land] Enforce a policy on supported Gradle, Java, AGP, and KGP versions (#143132) · 4b0abc77
      Gray Mackall authored
      Re land of https://github.com/flutter/flutter/pull/142000. 
      Differences:
      1. Fixed the test that was failing in postsubmit. The reason was that the Flutter Gradle Plugin was being applied after KGP in that test, so we couldn't find the KGP version. This caused a log, and the test expects no logs. I moved FGP to after KGP
      2. Added to the logs for when we can't find AGP. Change is from
      >  "Warning: unable to detect project AGP version. Skipping version checking."
      
      to 
      > ~"Warning: unable to detect project AGP version. Skipping version checking. \nThis may be because you have applied the Flutter Gradle Plugin after AGP."~
      
      update: the above is wrong, changed to 
      > "Warning: unable to detect project KGP version. Skipping version checking. \nThis may be because you have applied AGP after the Flutter Gradle Plugin."
      
      3. Added a note to the app-level build.gradle templates that FGP must go last
      > // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugin.
      4b0abc77
  5. 07 Feb, 2024 2 commits
  6. 29 Jan, 2024 1 commit
    • Zachary Anderson's avatar
      Update Android minSdkVersion to 21 (#142267) · 6a6874ec
      Zachary Anderson authored
      This PR increases Android's `minSdkVersion` to 21.
      
      There are two changes in this PR aside from simply increasing the number
      from 19 to 21 everywhere.
      
      First, tests using `flutter_gallery` fail without updating the
      lockfiles. The changes in the PR are the results of running
      `dev/tools/bin/generate_gradle_lockfiles.dart` on that app.
      
      Second, from
      [here](https://developer.android.com/build/multidex#mdex-pre-l):
      > if your minSdkVersion is 21 or higher, multidex is enabled by default
      and you don't need the multidex library.
      
      As a result, the `multidex` option everywhere is obsolete. This PR
      removes all logic and tests related to that option that I could find.
      `Google testing` and `customer_tests` pass on this PR, so it seems like
      this won't be too breaking if it is at all. If needed I'll give this
      some time to bake in the framework before landing the flutter/engine
      PRs.
      
      Context: https://github.com/flutter/flutter/issues/138117,
      https://github.com/flutter/flutter/issues/141277, b/319373605
      6a6874ec
  7. 19 Apr, 2023 1 commit