Gustl22
f5ac225c8d
Reland: "Fix how Gradle resolves Android plugin" ( #137115 )
...
Relands #97823
When the tool migrated to `.flutter-plugins-dependencies`, the Gradle plugin was never changed.
Until now, the plugin had the heuristic that a plugin with a `android/build.gradle` file supported the Android platform.
Also applies schema of `getPluginDependencies` to `getPluginList` which uses a `List` of Object instead of `Properties`.
Fixes #97729
Cause of the error: 5f105a6ca7/packages/flutter_tools/gradle/flutter.gradle (L421C25-L421C25)
Fixes #98048
The deprecated line `include ":$name"` in `settings.gradle` (pluginEach) in old projects causes the `project.rootProject.findProject` to also find the plugin "project", so it is not failing on the `afterEvaluate` method. But the plugin shouldn't be included in the first place as it fails with `Could not find method implementation() for arguments` error in special cases.
Related to #48918 , see [_writeFlutterPluginsListLegacy](27bc1cf61a/packages/flutter_tools/lib/src/flutter_plugins.dart (L248)
).
Co-authored-by: Emmanuel Garcia <egarciad@google.com>
2023-12-21 16:55:04 +00:00
Daco Harkes
3b370c8539
[deps] update Android SDK to 34 ( #138183 )
...
Update Android SDK from 33 to 34.
Following the engine update:
* https://github.com/flutter/engine/pull/47839
2023-12-14 00:55:57 +00:00
Jackson Gardner
07d73630fb
Consume flutter.js from the engine artifacts. ( #137113 )
...
Work in progress... currently testing against presubmit.
2023-11-14 17:00:29 +00:00
Camille Simon
c66bb0a18a
[Android] Support Android 34 (take 2) ( #137967 )
...
Re-lands https://github.com/flutter/flutter/pull/137191 .
The fix for the issue causing that PR to be reverted was tested in this PR but ultimately landed separately in https://github.com/flutter/flutter/pull/138093 .
2023-11-09 22:40:15 +00:00
auto-submit[bot]
c4ce9479bb
Reverts "[Android] Support Android 34" ( #137865 )
...
Reverts flutter/flutter#137191
Initiated by: camsim99
This change reverts the following previous change:
Original Description:
Adds support for Android 34 in the following ways:
- Bumps integration tests compile SDK versions 33 --> 34
- Bumps template compile SDK version 33 --> 34
- Also changes deprecated `compileSdkVersion` to `compileSdk`
Part of https://github.com/flutter/flutter/issues/134220
2023-11-03 20:14:19 +00:00
Camille Simon
675fec805a
[Android] Support Android 34 ( #137191 )
...
Adds support for Android 34 in the following ways:
- Bumps integration tests compile SDK versions 33 --> 34
- Bumps template compile SDK version 33 --> 34
- Also changes deprecated `compileSdkVersion` to `compileSdk`
Part of https://github.com/flutter/flutter/issues/134220
2023-11-02 22:18:11 +00:00
Zachary Anderson
4d5a1d91e1
Bump gradle heap size limit in *everywhere* ( #134665 )
...
I'm seeing these in the bot reports every week. Hopefully this is all of
them, and hopefully 4GB is enough.
2023-09-13 10:36:24 -07:00
Michael Goderbauer
240825a555
Enable private field promotion for flutter_tools ( #134474 )
...
New feature in upcoming Dart 3.2. See https://github.com/dart-lang/language/issues/2020 . Feature is enabled by bumping the min SDK version to 3.2.
Part of https://github.com/flutter/flutter/issues/134476 .
2023-09-12 20:20:04 +00:00
Ian Hickson
a2e2574941
Remove the fast reassemble / single widget reload feature ( #132255 )
...
Fixes https://github.com/flutter/flutter/issues/132157
2023-08-10 21:48:06 +00:00
gmackall
ae750e57f5
Upgrade compile and target sdk versions in tests and benchmarks ( #131428 )
...
Partially fixes/related to: https://github.com/flutter/flutter/issues/131425
2023-07-31 18:10:24 +00:00
Camille Simon
b42879a94e
[Android] Deletes deprecated splash screen meta-data element ( #130744 )
...
Deletes deprecated splash screen meta-data element.
This is no longer needed to present a splash screen in a Flutter application, but will be removed soon. See [go/flutter-splash-screen-migration](http://go/flutter-splash-screen-migration ) for more information.
Part of https://github.com/flutter/flutter/issues/105173 .
2023-07-18 18:38:12 +00:00
Tae Hyung Kim
ff838bca89
Add locale-specific DateTime formatting syntax ( #129573 )
...
Based on the [message format
syntax](https://unicode-org.github.io/icu/userguide/format_parse/messages/#examples )
for
[ICU4J](https://unicode-org.github.io/icu-docs/apidoc/released/icu4j/com/ibm/icu/text/MessageFormat.html ).
This adds new syntax to the current Flutter messageFormat parser which
should allow developers to add locale-specific date formatting.
## Usage example
```
"datetimeTest": "Today is {today, date, ::yMd}",
"@datetimeTest": {
"placeholders": {
"today": {
"description": "The date placeholder",
"type": "DateTime"
}
}
}
```
compiles to
```
String datetimeTest(DateTime today) {
String _temp0 = intl.DateFormat.yMd(localeName).format(today);
return 'Today is $_temp0';
}
```
Fixes https://github.com/flutter/flutter/issues/127304 .
2023-06-29 09:23:34 -07:00
Dan Field
fc20983686
Bump the default minSdkVersion to 19 ( #125515 )
...
See https://docs.flutter.dev/reference/supported-platforms
I don't expect this to break anything, but if it does we can revert and figure out what else needs to happen first.
Without this change, engine changes upstream will get flagged in default flutter created apps.
2023-04-27 17:26:28 +00:00
Bartek Pacia
c40dd27681
Fix Gradle warning in a freshly flutter create
ed Android project ( #122290 )
...
Fix Gradle warning in a freshly `flutter create`ed Android project
2023-03-21 23:41:49 +00:00
Michael Goderbauer
25e38a2a87
Bump lower Dart SDK constraints to 3.0 & add class modifiers ( #122546 )
...
Bump lower Dart SDK constraints to 3.0 & add class modifiers
2023-03-21 20:21:58 +00:00
Mouad Debbar
d5dbcb7085
Revert "Revert "[web] Move JS content to its own .js
files ( #117691 )" ( #120275 )" ( #120363 )
...
This reverts commit 0fb4406c30
.
2023-02-10 21:24:08 +00:00
Kevin Chisholm
0fb4406c30
Revert "[web] Move JS content to its own .js
files ( #117691 )" ( #120275 )
...
This reverts commit e03029ef6a
.
2023-02-08 18:17:29 -06:00
Mouad Debbar
e03029ef6a
[web] Move JS content to its own .js
files ( #117691 )
2023-02-07 10:51:52 -05:00
Michael Goderbauer
38630b6bd1
Remove unnecessary null checks in flutter_tool
( #118857 )
...
* dart fix --apply
* manual fixes
* fix after merge conflicts
* review
2023-01-23 21:43:08 +00:00
Christopher Fujino
374f09e1a6
[flutter_tools] No more implicit --no-sound-null-safety ( #118491 )
...
* remove implicit no-sound-null-safety
* add test
* bump sdk constraint in test file
2023-01-18 20:46:09 +00:00
Michael Goderbauer
b308555ed1
Enable dangling_library_doc_comments
and library_annotations
lints ( #117365 )
2022-12-20 16:03:21 -08:00
Ian Hickson
9fdb64b7e7
Taboo the word "simply" from our API documentation. ( #116061 )
2022-12-11 22:43:22 +00:00
Siva
7c8e171320
Manual Roll of Flutter Engine from 67254d6e4b03 to 8d83b98c55b3 ( #116635 )
...
* Roll Flutter Engine from 67254d6e4b03 to 8d83b98c55b3
* Roll Dart SDK from 35a9facce191 to e517487c5679 (Dart 3.0) (#38105 )
* Bump SDK versions.
* Bump Dart SDK version constraints
* Update shrine package to 2.0.1 (null safe version)
* Fix more tests.
* Include patches from Jason for min android sdk version
* Fix analyzer warning
2022-12-08 18:03:51 -08:00
Tae Hyung Kim
cef4c2aac8
ICU Message Syntax Parser ( #112390 )
...
* init
* code generation
* improve syntax error, add tests
* add tests and fix bugs
* code generation fix
* fix all tests :)
* fix bug
* init
* fix all code gen issues
* FIXED ALL TESTS :D
* add license
* remove trailing spaces
* remove print
* tests fix
* specify type annotation
* fix test
* lint
* fix todos
* fix subclass issues
* final fix; flutter gallery runs
* escaping for later pr
* fix comment
* address PR comments
* more
* more descriptive errors
* last fixes
2022-11-05 10:26:46 -07:00
Danny Tuppeny
3599b3a877
Add support for expression compilation when debugging integration tests ( #113481 )
...
Fixes #79439 .
2022-10-25 15:34:22 +01:00
David Iglesias
9cb9f6bca4
[tool] Fix flutter.js regression with hot-reload on promise-based init. ( #110805 )
2022-09-01 22:25:16 +00:00
Nils Reichardt
64db621980
Remove new
keyword in a few files ( #104438 )
2022-06-06 16:08:06 -07:00
Danny Tuppeny
147020366a
Fix issues running integration tests through DAP debug adapter ( #104618 )
...
* Fix issues running integration tests through DAP
These adapters were incorrectly trying to connect a DDS instance even when Flutter would create its own. This change disables DDS in the DAP layer and leaves it to Flutter (although it passes `--no-dds` on to Flutter if provided to the DAP process).
Also fixes an issue where we would unnecessarily connect the VM Service for tests even in 'noDebug' mode because of a change/fix that now includes a 'vmServiceUri' in the `test.startedProcess` event.
2022-05-26 09:36:30 +01:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
creativecreatorormaybenot
96add4192e
Use single quotes for dartSdkVersionBounds
( #101270 )
...
* Use single quotes for `dartSdkVersionBounds`
* Update update_packages_test.dart
* Update test_project.dart
* Update tests_project.dart
* Update compile_error_project.dart
* Update hot_reload_with_asset.dart
* Update break_on_framework_exceptions_test.dart
* Update basic_project.dart
2022-04-06 09:54:10 -07:00
Gary Qian
ead5b1c2f4
Retire v1 embedding compatibility from automatic multidex support ( #100685 )
2022-03-31 10:24:42 -07:00
Gary Qian
63ff7a199b
MigrateConfig and migrate integration testing base ( #99092 )
2022-03-16 11:10:22 -07:00
Christopher Fujino
bb4a5fa7ab
[flutter_tools] exec rather than spawn subprocess from bin/internal/shared.sh ( #99871 )
2022-03-14 13:35:18 -07:00
Collin Jackson
10fbbafe09
[flutter_tools] Use proper project name in templates ( #96373 )
2022-02-02 06:50:14 -08:00
Daco Harkes
0e2f51dfd0
FFI plugins ( #96225 )
2022-01-26 23:44:45 +01:00
Alexander Aprelev
752de49450
Fix hot-restart test by ensuring updated timestmamp is in the future. ( #97247 )
...
On Windows modified timestamps are round down to a second, which can lead to missed file updates.
Fixes https://github.com/flutter/flutter/issues/96677
2022-01-25 14:18:33 -08:00
Tarekk Mohamed Abdalla
fae84f6714
[gen_l10n] Add support for adding placeholders inside select ( #92753 )
2021-11-22 20:08:03 -08:00
Andrei Diaconu
924336fcee
Reland 3: Display Features ( #93240 )
2021-11-20 15:48:06 -08:00
Danny Tuppeny
99e85b1c5f
Disable pause-on-exceptions for (outgoing) isolates during hot restart ( #93411 )
2021-11-18 22:23:09 -08:00
Camille Simon
977c35307f
Add warning for bumping Android SDK version to match plugins ( #92451 )
2021-11-09 12:58:07 -08:00
Zachary Anderson
2468f315e0
Revert "Reland: display features ( #93117 )" ( #93204 )
...
This reverts commit 9038fac960
.
2021-11-06 22:46:46 -07:00
Andrei Diaconu
9038fac960
Reland: display features ( #93117 )
2021-11-05 15:54:25 -07:00
Emmanuel Garcia
15d0a8be1c
Pin to specific plugin version in multidex test ( #93148 )
2021-11-05 11:17:32 -07:00
Zachary Anderson
7779ad3c60
Revert "Reland engine display features ( #89511 )" ( #93098 )
...
This reverts commit 058dfd49a0
.
2021-11-04 23:05:45 -07:00
Andrei Diaconu
058dfd49a0
Reland engine display features ( #89511 )
2021-11-04 18:37:55 -07:00
嘟囔
38b0389121
feat: mirgate test_data/compile_error_project.dart to null safety ( #92808 )
2021-11-01 17:13:05 -07:00
嘟囔
bd935e5d4f
feat: migrate test_data/project.dart to null safety ( #92646 )
2021-10-29 11:38:05 -07:00
Danny Tuppeny
57dbf7f7e7
Add support for running tests through debug-adapter ( #92587 )
...
* Add support for running tests through debug-adapter
* Improve comments about stdout + remove pedantic
2021-10-28 11:34:05 +01:00
Danny Tuppeny
de966d8a49
Add a "flutter debug_adapter" command that runs a DAP server ( #91802 )
2021-10-27 06:48:06 -07:00
Jenn Magder
305a855f6d
Migrate integration test shard test data to null safety ( #92147 )
2021-10-20 14:58:05 -07:00