flutter/packages/flutter_tools/lib/src/android
Bartek Pacia 51251f2e57
Refactor Flutter Gradle Plugin so it can be applied using the declarative plugins {} block (#123511)
This PR aims to resolve #121552.

Resources used:
- [Developing Plugins](https://docs.gradle.org/current/userguide/custom_plugins.html)
- [Using Gradle Plugins](https://docs.gradle.org/current/userguide/plugins.html#sec:plugins_block)
- [Composite Builds Plugin Development Sample](https://docs.gradle.org/current/samples/sample_composite_builds_plugin_development.html)

This PR also paves way for #121541, because apps will no longer have:

```groovy
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
```

hardcoded. Instead, they'll use:

```groovy
plugins {
    // ...
    id "dev.flutter.flutter-gradle-plugin" // the exact name is tentative
}
```
2023-04-19 17:56:22 +00:00
..
migrations Fix Gradle warning in a freshly flutter createed Android project (#122290) 2023-03-21 23:41:49 +00:00
adb.dart Migrate flutter_tool tool helper files to null safety (#78845) 2021-03-23 10:02:59 -07:00
android_builder.dart Add vmservice for android build options (#123034) 2023-04-18 18:16:09 +00:00
android_console.dart Migrate android_console to null safety (#78923) 2021-03-24 15:18:00 -07:00
android_device_discovery.dart Remove unnecessary null checks in flutter_tool (#118857) 2023-01-23 21:43:08 +00:00
android_device.dart [Impeller] Plumb through the impeller-force-gl flag. (#123828) 2023-03-31 15:13:10 +00:00
android_emulator.dart Remove unnecessary null checks in flutter_tool (#118857) 2023-01-23 21:43:08 +00:00
android_sdk.dart Add vmservice for android build options (#123034) 2023-04-18 18:16:09 +00:00
android_studio_validator.dart [flutter_tools] Remove Version.unknown (#124771) 2023-04-15 19:56:41 +00:00
android_studio.dart [flutter_tools] Remove Version.unknown (#124771) 2023-04-15 19:56:41 +00:00
android_workflow.dart Remove 1745 decorative breaks (#123259) 2023-03-22 21:12:22 +00:00
android.dart Migrate flutter_tool tool helper files to null safety (#78845) 2021-03-23 10:02:59 -07:00
application_package.dart flutter-tool: enum cleanup (#124760) 2023-04-14 01:55:05 +00:00
build_validation.dart flutter-tool: enum cleanup (#124760) 2023-04-14 01:55:05 +00:00
deferred_components_gen_snapshot_validator.dart Remove unnecessary null checks in flutter_tool (#118857) 2023-01-23 21:43:08 +00:00
deferred_components_prebuild_validator.dart Remove unnecessary null checks in flutter_tool (#118857) 2023-01-23 21:43:08 +00:00
deferred_components_validator.dart Remove unnecessary null checks in flutter_tool (#118857) 2023-01-23 21:43:08 +00:00
gradle_errors.dart Add vmservice for android build options (#123034) 2023-04-18 18:16:09 +00:00
gradle_utils.dart Refactor Flutter Gradle Plugin so it can be applied using the declarative plugins {} block (#123511) 2023-04-19 17:56:22 +00:00
gradle.dart Add vmservice for android build options (#123034) 2023-04-18 18:16:09 +00:00
multidex.dart [flutter_tools] Catch more general XmlException rather than XmlParserException (#107574) 2022-07-13 22:38:07 +00:00