Skip to content

Conversation

@DRSchlaubi
Copy link
Contributor

Pre-launch Checklist

The Gradle Kotlin DSL also allows for type-safe application of the Flutter Gradle plugin, which is currently undetected by the CLI

plugins {
  dev.flutter.`flutter-gradle-plugin`
}

Please note that the added test case isn't ideal, since the example gradle isn't actually valid kotlin DSL, however the kotlin host app language with Gradle Kotlin DSL is identical

Fixes #149859

@github-actions github-actions bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Jun 27, 2024
Copy link
Member

@bartekpacia bartekpacia left a comment

Choose a reason for hiding this comment

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

wow, I didn't know it's possible

plugins {
    // ...
    dev.flutter.`flutter-gradle-plugin`
}

Thanks a lot for your contribution:) Overall LGTM. Just fix the failing tests.

@DRSchlaubi
Copy link
Contributor Author

I am not sure how I am supposed to fix these tests, as they fail for OOME in the Gradle Daemon, timeouts of the run itself and something with xcode that I am not sure is related to this at all

@bartekpacia
Copy link
Member

It's possible they're flakes. In this case, I suggest you rebase with the master branch so the CI will be triggered again.

@DRSchlaubi
Copy link
Contributor Author

DRSchlaubi commented Jun 28, 2024

Well now only that one runner failed, and since I already rebased I can't rerun

If I interpret this correctly it fails from time to time: https://ci.chromium.org/ui/p/flutter/builders/try/Mac%20tool_integration_tests_1_4

@bartekpacia
Copy link
Member

All checks green:)

Copy link
Member

@gmackall gmackall left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the fix!

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

flutter/flutter@15f95ce...651a17d

2024-06-28 [email protected] Roll Flutter Engine from a78f5ce743ce to 2f7e9ab27493 (11 revisions) (flutter/flutter#151002)
2024-06-28 [email protected] Draggable feedback positioning (flutter/flutter#149040)
2024-06-28 [email protected] Add support for type-safe plugin apply (flutter/flutter#150958)
2024-06-28 [email protected] Use caret syntax with flutter create command (flutter/flutter#150920)
2024-06-28 [email protected] Roll Packages from 03f5f6d to 412ec46 (12 revisions) (flutter/flutter#150985)
2024-06-28 [email protected] [flutter_tools] Include more details in structured errors sent to a DAP client (flutter/flutter#150698)
2024-06-28 [email protected] Roll Flutter Engine from 94591ffb20df to a78f5ce743ce (1 revision) (flutter/flutter#150972)

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
victorsanni pushed a commit to victorsanni/flutter that referenced this pull request Jul 8, 2024
The Gradle Kotlin DSL also allows for type-safe application of the Flutter Gradle plugin, which is currently undetected by the CLI
```kotlin
plugins {
  dev.flutter.`flutter-gradle-plugin`
}
```

Please note that the added test case isn't ideal, since the example gradle isn't actually valid kotlin DSL, however the `kotlin host app language with Gradle Kotlin DSL` is identical

Fixes flutter#149859
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 6, 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.

Flutter plugin check has too strict regular expression validation

3 participants