Skip to content

Conversation

@mossmana
Copy link
Contributor

@mossmana mossmana commented Jan 27, 2024

Addresses: #141410

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I signed the [CLA].
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • All existing and new tests are passing.

@github-actions github-actions bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Jan 27, 2024
@mossmana mossmana marked this pull request as ready for review January 30, 2024 19:04
@mossmana mossmana requested a review from reidbaker January 30, 2024 19:05
// Expected content:
// "classpath 'com.android.tools.build:gradle:7.3.0'"
// Groovy DSL - classpath 'com.android.tools.build:gradle:{{agpVersion}}'
// Kotlin DSL - classpath("com.android.tools.build.gradle:{{agpVersion}}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can also be compileOnly

// * AGP version constants in packages/flutter_tools/lib/src/android/gradle_utils.dart

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! I updated the regex to include either classpath or compileOnly and it can be easily extended in the future if we discover more variations.

/// [settings.gradle] file within the project's
/// Android directory ([androidDirectory]).
/// The Android plugin version is specified in the [build.gradle],
/// [build.gradle.kts], [settings.gradle] or [settings.gradle.kts]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for discovering and documenting this.

@reidbaker
Copy link
Contributor

Marked google testing as passing since it had hung for 2 weeks.

@mossmana mossmana added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 5, 2024
@auto-submit auto-submit bot merged commit e5a922f into flutter:master Feb 5, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 6, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 6, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 6, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 6, 2024
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Feb 6, 2024
Manual roll requested by [email protected]

flutter/flutter@0b5cd50...e6ba809

2024-02-06 [email protected] Roll Packages from ae3494d to 1a5a7ce (2 revisions) (flutter/flutter#142985)
2024-02-06 [email protected] TextField context menu should fade on scroll on mobile devices (flutter/flutter#138313)
2024-02-06 [email protected] Roll Flutter Engine from 9c1b6c98f7f0 to 808886312e2b (1 revision) (flutter/flutter#142959)
2024-02-06 [email protected] Roll Flutter Engine from 9bd98bc2fcdf to 9c1b6c98f7f0 (4 revisions) (flutter/flutter#142954)
2024-02-06 [email protected] Roll Flutter Engine from f34c658b9600 to 9bd98bc2fcdf (1 revision) (flutter/flutter#142950)
2024-02-05 [email protected] Grey out non-selectable days in CupertinoDatePicker (flutter/flutter#136181)
2024-02-05 49699333+dependabot[bot]@users.noreply.github.com Bump actions/upload-artifact from 4.3.0 to 4.3.1 (flutter/flutter#142944)
2024-02-05 [email protected] Run examples_smoke_test on Linux (flutter/flutter#142736)
2024-02-05 [email protected] Update AGP version validation code to support KGP and kotlin build files. (flutter/flutter#142357)
2024-02-05 [email protected] Fixed test in language_version_test.dart that failed when shuffling, â�¦ (flutter/flutter#142904)
2024-02-05 [email protected] Move Mac_build_test flutter_gallery__transition_perf_e2e_ios to staging (flutter/flutter#142918)
2024-02-05 [email protected] Roll Packages from d37fb0a to ae3494d (3 revisions) (flutter/flutter#142915)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: 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
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update AGP version validation code to support KGP and kotlin build files.

2 participants