-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Add support for type-safe plugin apply #150958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Andrew Kolos <[email protected]>
There was a problem hiding this 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.
|
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 |
|
It's possible they're flakes. In this case, I suggest you rebase with the |
|
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 |
|
All checks green:) |
gmackall
left a comment
There was a problem hiding this 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!
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
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
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 DSLis identicalFixes #149859