flutter/packages/flutter_tools/templates/app_shared
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
..
.idea Add a more complete app template for Flutter (skeleton) (#83530) 2021-06-28 15:26:04 -07:00
android-java.tmpl Refactor Flutter Gradle Plugin so it can be applied using the declarative plugins {} block (#123511) 2023-04-19 17:56:22 +00:00
android-kotlin.tmpl Refactor Flutter Gradle Plugin so it can be applied using the declarative plugins {} block (#123511) 2023-04-19 17:56:22 +00:00
android.tmpl Refactor Flutter Gradle Plugin so it can be applied using the declarative plugins {} block (#123511) 2023-04-19 17:56:22 +00:00
ios-objc.tmpl Add Info.plist from build directory as input path to Thin Binary build phase (#118209) 2023-01-13 13:41:08 -06:00
ios-swift.tmpl Add Info.plist from build directory as input path to Thin Binary build phase (#118209) 2023-01-13 13:41:08 -06:00
ios.tmpl Add native unit tests to iOS and macOS templates (#117147) 2022-12-21 19:10:22 +00:00
linux.tmpl Add Linux unit tests to plugin template (#120814) 2023-02-15 19:13:11 +00:00
macos.tmpl [macOS] Remigrate principal class to NSApplication (#124173) 2023-04-05 09:05:37 -07:00
web flutter-tool, web: update HTML template serviceWorkerVersion to be const (#124826) 2023-04-14 02:01:21 +00:00
windows.tmpl Fix typos (#121171) 2023-02-23 19:43:21 +00:00
.gitignore.tmpl [tools][web] Make Plugin Registrant file ephemeral. (#102185) 2022-05-11 17:54:11 -07:00
analysis_options.yaml.tmpl Add --empty to the flutter create command (#113873) 2022-10-24 21:20:03 +00:00
projectName.iml.tmpl Remove .pub directories from iml templates (#109622) 2022-09-09 22:20:12 +00:00