[animations] Remove .flutter-plugins reference from example app (#8002)
Removes .flutter-plugins reference from example by (1) deleting the packages/animations/example/android directory, (2) running (in the packages/animations directory)
```
flutter create example --platforms android -a kotlin --org "dev.flutter.packages.animations"
```
and then (3) manually made the following changes:
- Added back packages/animations/example/android/.pluginToolsConfig.yaml (removed by command)
- Updated the Gradle version from 8.7 to 8.3 (downgraded by command)
- Deleted example/analysis_options.yaml (added by command)
- Deleted example/test/ (added by command)
- Added back artifact hub
- Removed template TODOs
- Bumped Kotlin Gradle version to 1.9.0
- Bumped AGP version from 8.1.0 to 8.5.1.
Part of https://github.com/flutter/flutter/issues/157660.
Ensure Example Packages Work on Android API 36 (#9241)
Ensured the example plugin apps on Android work on Android API 36 by updating configurations and sucessfully running flutter build apk (means the app can successfully build + all dependencies are resolvable). For compatibility with Android API 36, the example plugin apps on Android should have the following configurations:
targetSdk: 36
compileSdk: 36
AGP version: 8.9.1
Gradle version: 8.11.1
Most packages no longer require a manual bump of targetSdk and compileSdk due to usage of values from Flutter Gradle Plugin. Below is a list of example plugin apps on Android:
Partially Adresses https://github.com/flutter/flutter/issues/163071
## Pre-Review Checklist
[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
[animations] Remove .flutter-plugins reference from example app (#8002)
Removes .flutter-plugins reference from example by (1) deleting the packages/animations/example/android directory, (2) running (in the packages/animations directory)
```
flutter create example --platforms android -a kotlin --org "dev.flutter.packages.animations"
```
and then (3) manually made the following changes:
- Added back packages/animations/example/android/.pluginToolsConfig.yaml (removed by command)
- Updated the Gradle version from 8.7 to 8.3 (downgraded by command)
- Deleted example/analysis_options.yaml (added by command)
- Deleted example/test/ (added by command)
- Added back artifact hub
- Removed template TODOs
- Bumped Kotlin Gradle version to 1.9.0
- Bumped AGP version from 8.1.0 to 8.5.1.
Part of https://github.com/flutter/flutter/issues/157660.
[various] Speed up build-examples (#3849)
https://github.com/flutter/flutter/issues/125707
- Create pluginTools config for every example that shrunk material icons and had an android config
Likely some build caching but before/after If someone knows how to clean the cache or force a rebuild I will give more accurate after numbers.
Command
time dart run ./script/tool/bin/flutter_plugin_tools.dart build-examples --apk
Secondary validation from @stuartmorgan who discovered this is between a 10% and 25% speed increase.
Existing tests add confidence this is non-breaking. New tests not required because these are optional flags. Validation this does not change is low consequence. Test update to exclude these config files from changelog requirements.
[animations] Remove .flutter-plugins reference from example app (#8002)
Removes .flutter-plugins reference from example by (1) deleting the packages/animations/example/android directory, (2) running (in the packages/animations directory)
```
flutter create example --platforms android -a kotlin --org "dev.flutter.packages.animations"
```
and then (3) manually made the following changes:
- Added back packages/animations/example/android/.pluginToolsConfig.yaml (removed by command)
- Updated the Gradle version from 8.7 to 8.3 (downgraded by command)
- Deleted example/analysis_options.yaml (added by command)
- Deleted example/test/ (added by command)
- Added back artifact hub
- Removed template TODOs
- Bumped Kotlin Gradle version to 1.9.0
- Bumped AGP version from 8.1.0 to 8.5.1.
Part of https://github.com/flutter/flutter/issues/157660.
[animations] Remove .flutter-plugins reference from example app (#8002)
Removes .flutter-plugins reference from example by (1) deleting the packages/animations/example/android directory, (2) running (in the packages/animations directory)
```
flutter create example --platforms android -a kotlin --org "dev.flutter.packages.animations"
```
and then (3) manually made the following changes:
- Added back packages/animations/example/android/.pluginToolsConfig.yaml (removed by command)
- Updated the Gradle version from 8.7 to 8.3 (downgraded by command)
- Deleted example/analysis_options.yaml (added by command)
- Deleted example/test/ (added by command)
- Added back artifact hub
- Removed template TODOs
- Bumped Kotlin Gradle version to 1.9.0
- Bumped AGP version from 8.1.0 to 8.5.1.
Part of https://github.com/flutter/flutter/issues/157660.
Ensure Example Packages Work on Android API 36 (#9241)
Ensured the example plugin apps on Android work on Android API 36 by updating configurations and sucessfully running flutter build apk (means the app can successfully build + all dependencies are resolvable). For compatibility with Android API 36, the example plugin apps on Android should have the following configurations:
targetSdk: 36
compileSdk: 36
AGP version: 8.9.1
Gradle version: 8.11.1
Most packages no longer require a manual bump of targetSdk and compileSdk due to usage of values from Flutter Gradle Plugin. Below is a list of example plugin apps on Android:
Partially Adresses https://github.com/flutter/flutter/issues/163071
## Pre-Review Checklist
[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.