Camille Simon
f9f42bee99
[Android] Removes dev dependency plugins from release builds ( #158026 )
...
Removes plugins that are `dev_dependency`s from being dependencies of
release builds of Flutter Android app projects.
Fixes https://github.com/flutter/flutter/issues/157949 .
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
2024-12-04 18:13:07 +00:00
Matan Lurey
d29a888bf2
Replace \r\n
code with Dart SDK standard conventions. ( #159346 )
...
Also deleted a file that appeared to be unused.
2024-11-22 19:41:08 +00:00
Mikhail Novoseltsev
0975e612c0
[tool][android] Allow --target-platform work properly with --debug mode ( #154476 )
...
This PR addresses an issue where the `--target-platform` flag was not being respected when building APKs in debug mode. Previously, debug builds would always include `x86` and `x64` architectures, regardless of the specified target platform. This change ensures that the `--target-platform` flag is honored across all build modes, including debug.
To achieve this, `BuildApkCommand` has been slightly changed to become responsible for list of archs that should be built in the current run,rather than just parsing arguments. Previously, this responsibility was distributed to gradle, which could be frustrating (in my opinion)
Fixes #153359
2024-10-01 15:24:53 +00:00
Jenn Magder
e2e313ecf6
Take screenshot on devicelab failure ( #122249 )
...
Take screenshot on devicelab failure
2023-03-15 02:13:21 +00:00
Michael Goderbauer
10a7c9ba22
Unify analysis options ( #108462 )
2022-07-28 09:07:49 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Emmanuel Garcia
5c6918933e
Migrate AGP and Gradle versions to 7.1.2/7.4 ( #99723 )
2022-03-30 20:30:09 -07:00
Darren Austin
a0e5fe84ac
Migrate core devicelab tasks f-i null safety. ( #86378 )
2021-07-13 22:04:03 -07:00
Zachary Anderson
83835436cb
Revert "Migrate core devicelab tasks f-i null safety. ( #85997 )" ( #86267 )
...
This reverts commit d4afa28957
.
2021-07-11 22:36:43 -07:00
Darren Austin
d4afa28957
Migrate core devicelab tasks f-i null safety. ( #85997 )
2021-07-11 21:30:41 -07:00
gaaclarke
66fd0b28b0
replaced unawaited with synchronous / await calls where needed ( #82839 )
2021-06-24 16:22:43 -07:00
Jenn Magder
94a41cde83
Mixed null safety in dev/devicelab ( #84017 )
2021-06-05 02:29:03 -07:00
gaaclarke
7cdd33fe99
added unawaited function for devicelab and turned on unawaited_futures linter ( #82833 )
2021-05-18 14:19:03 -07:00
Jenn Magder
2d688804f6
Reduce number of project creates in gradle_plugin_*_apk_tests ( #80171 )
2021-04-12 12:40:02 -07:00
Emmanuel Garcia
d35dd9f8a6
Allow flavors and build types when using plugins ( #71738 )
2020-12-07 09:23:04 -08:00
Emmanuel Garcia
8dd0de7f58
Relands: Migrate template to Gradle 6.7 and AGP 4.1.0 ( #71446 )
2020-12-01 19:01:09 -08:00
Amir Hardon
7df04fdbd3
Revert "Migrate template to Gradle 6.7 and AGP 4.1.0 ( #70808 )" ( #71096 )
...
This reverts commit 8e73bab94c
.
2020-11-23 12:27:36 -08:00
Emmanuel Garcia
8e73bab94c
Migrate template to Gradle 6.7 and AGP 4.1.0 ( #70808 )
2020-11-20 13:05:35 -08:00
Jonah Williams
e8dc7a2e17
[devicelab] update hostonly tests to use flutter directly or precache deps ( #68487 )
...
Fixes #67370
By running most of these executions through flutter, we get the benefit of the flutter error handling and precaching. IN the test where this is not feasible, call pre-cache directly.
2020-10-19 13:01:50 -07:00
Casey Hillers
9e206a0c93
Refactor devicelab logic to use TaskResult instead of JSON ( #67550 )
2020-10-07 16:37:09 -07:00
Michael R Fairhurst
7f3c9b6bda
Remove unused 'dart:async' imports. ( #65568 )
2020-09-16 14:14:06 -07:00
Jonah Williams
981afe39ae
[flutter_tools] ensure build fails if asset files are missing ( #54233 )
...
Ensure build fails if asset files are missing and that stderr messages are forwarded through Gradle
2020-04-07 19:42:57 -07:00
Alexandre Ardhuin
ec1a015045
implicit-casts:false in dev ( #45787 )
2019-12-05 22:34:06 +01:00
Ian Hickson
449f4a6673
License update ( #45373 )
...
* Update project.pbxproj files to say Flutter rather than Chromium
Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
* Update the copyright notice checker to require a standard notice on all files
* Update copyrights on Dart files. (This was a mechanical commit.)
* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).
* Clean up the copyrights in non-Dart files. (Manual edits.)
Also, make sure templates don't have copyrights.
* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Ian Hickson
1ce4a4f36f
Make sure all our .dart files have license headers ( #44467 )
2019-11-08 16:53:21 -08:00
xster
604f176194
Add more flutter build ios-framework tests before the impending jonahpocalypse ( #44308 )
2019-11-07 13:12:56 -08:00
Emmanuel Garcia
30493a35b6
Test Gradle on Windows ( #42709 )
2019-10-21 16:42:46 -07:00
Emmanuel Garcia
2466ca5bb0
Copy Flutter assets before merging the rest of resources ( #41333 )
2019-09-27 10:53:37 -07:00
Jonah Williams
9bd02a1787
Re-Re-Re-land implement flutter build bundle with assemble ( #41302 )
2019-09-25 13:55:29 -07:00
Jonah Williams
cc3ca9a916
Revert "Re-Re-land Implement flutter build bundle with assemble ( #41230 )" ( #41295 )
2019-09-25 10:57:58 -04:00
Jonah Williams
84a476a4db
Re-Re-land Implement flutter build bundle with assemble ( #41230 )
2019-09-25 10:17:04 -04:00
Jonah Williams
f8ba6756c3
Revert "Reland: implement build bundle with assemble ( #40470 )" ( #40862 )
2019-09-19 09:04:07 -07:00
Jonah Williams
ea7876ae82
Reland: implement build bundle with assemble ( #40470 )
2019-09-19 07:46:50 -07:00
Emmanuel Garcia
8a1bf5b827
Reland #39157 ( #39798 )
2019-09-17 08:19:33 -07:00
Jonah Williams
609a78fdca
Revert "build bundle with assemble ( #37508 )" ( #40204 )
2019-09-10 20:03:52 -07:00
Jonah Williams
a7aff56741
build bundle with assemble ( #37508 )
2019-09-10 19:28:38 -07:00
Emmanuel Garcia
d230234d67
Revert Maven dependencies ( #39747 ) (39157) ( #39784 )
2019-09-03 17:49:10 -07:00
Emmanuel Garcia
b63cb44105
Use new Maven artifacts from Gradle ( #39157 )
2019-09-02 10:35:17 -07:00
Josh Burton
577c2fc48c
Ensures flutter jar is added to all build types on plugin projects ( #34573 )
2019-06-25 10:40:55 -07:00
Emmanuel Garcia
c50fa3d2bd
Re-land config lib dependencies for flavors ( #34668 )
2019-06-18 22:37:42 -07:00
Emmanuel Garcia
9dbc66979a
Revert "Config lib dependencies when using flavors ( #34592 )" ( #34655 )
...
This reverts commit 358b9bd381
.
2019-06-18 15:30:59 -07:00
Emmanuel Garcia
358b9bd381
Config lib dependencies when using flavors ( #34592 )
2019-06-17 15:05:16 -07:00
Emmanuel Garcia
21a532698f
Split gradle_plugin_test.dart ( #34282 )
...
Fixes timeout when running gradle_plugin_test
2019-06-11 16:24:03 -07:00