Unverified Commit 69af9ade authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

Update minimum build_runner version and enable incremental builder (#41499)

parent 3606300b
......@@ -9,7 +9,7 @@ environment:
dependencies:
flutter:
sdk: flutter
google_maps_flutter: 0.5.21+4
google_maps_flutter: 0.5.21+6
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
......@@ -44,4 +44,4 @@ dev_dependencies:
flutter:
uses-material-design: true
# PUBSPEC CHECKSUM: 3231
# PUBSPEC CHECKSUM: 2833
......@@ -2,7 +2,7 @@ name: simple_codegen
description: A package for testing codegen
dependencies:
build: 1.1.6
build: 1.2.0
analyzer: 0.36.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
......@@ -33,4 +33,4 @@ environment:
# The pub client defaults to an <2.0.0 sdk constraint which we need to explicitly overwrite.
sdk: ">=2.0.0-dev.68.0 <3.0.0"
# PUBSPEC CHECKSUM: a465
# PUBSPEC CHECKSUM: da60
......@@ -12,7 +12,7 @@ dependencies:
intl: 0.16.0
connectivity: 0.4.4
string_scanner: 1.0.5
url_launcher: 5.1.3
url_launcher: 5.1.4
cupertino_icons: 0.1.2
video_player: 0.10.2+1
scoped_model: 1.0.1
......@@ -258,4 +258,4 @@ flutter:
- asset: packages/flutter_gallery_assets/fonts/merriweather/Merriweather-Regular.ttf
- asset: packages/flutter_gallery_assets/fonts/merriweather/Merriweather-Light.ttf
# PUBSPEC CHECKSUM: 543d
# PUBSPEC CHECKSUM: 5a3e
......@@ -26,8 +26,8 @@ import '../globals.dart';
import '../project.dart';
/// The minimum version of build_runner we can support in the flutter tool.
const String kMinimumBuildRunnerVersion = '1.6.5';
const String kSupportedBuildDaemonVersion = '2.0.0';
const String kMinimumBuildRunnerVersion = '1.7.1';
const String kSupportedBuildDaemonVersion = '2.1.0';
/// A wrapper for a build_runner process which delegates to a generated
/// build script.
......
......@@ -147,9 +147,10 @@ final List<core.BuilderApplication> builders = <core.BuilderApplication>[
platform: flutterWebPlatform,
librariesPath: path.absolute(path.join(builderOptions.config['flutterWebSdk'], 'libraries.json')),
kernelTargetName: 'ddc',
useIncrementalCompiler: true,
),
(BuilderOptions builderOptions) => DevCompilerBuilder(
useIncrementalCompiler: false,
useIncrementalCompiler: true,
platform: flutterWebPlatform,
platformSdk: builderOptions.config['flutterWebSdk'],
sdkKernelPath: path.url.join('kernel', 'flutter_ddc_sdk.dill'),
......
......@@ -27,11 +27,6 @@ const Map<String, String> _kManuallyPinnedDependencies = <String, String>{
'test_api': '0.2.5', // |
'test_core': '0.2.5', // |
'vm_service_client': '0.2.6+2', // Final version before being marked deprecated.
'build_runner_core': '3.1.1', // | Temporarily prevent the test web_tests-linux from failing.
'build_daemon': '2.0.0', // | See https://github.com/flutter/flutter/issues/40989
'build_web_compilers': '2.3.0', // |
'build_resolvers': '1.0.7', // |
'build_runner': '1.6.9', // |
};
class UpdatePackagesCommand extends FlutterCommand {
......
......@@ -46,21 +46,21 @@ dependencies:
test_core: 0.2.5
# Code generation dependencies
build_runner_core: 3.1.1
build_runner_core: 4.1.0
dart_style: 1.2.9
code_builder: 3.2.0
build: 1.1.6
build_modules: 2.5.0
build_daemon: 2.0.0
build_web_compilers: 2.3.0
build: 1.2.0
build_modules: 2.6.2
build_daemon: 2.1.0
build_web_compilers: 2.5.2
analyzer: 0.36.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
async: 2.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
bazel_worker: 0.1.22 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
browser_launcher: 0.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
browser_launcher: 0.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
build_config: 0.4.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
build_resolvers: 1.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
build_resolvers: 1.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
built_collection: 4.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
built_value: 6.7.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
......@@ -88,7 +88,7 @@ dependencies:
pedantic: 1.8.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
petitparser: 2.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
protobuf: 0.14.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
protobuf: 0.14.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pubspec_parse: 0.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
scratch_space: 0.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
......@@ -115,9 +115,9 @@ dev_dependencies:
mockito: 4.1.1
file_testing: 2.1.0
test: 1.6.3
build_runner: 1.6.9
build_runner: 1.7.1
build_vm_compilers: 1.0.3
build_test: 0.10.8
build_test: 0.10.9
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble: 1.4.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
......@@ -127,4 +127,4 @@ dartdoc:
# Exclude this package from the hosted API docs.
nodoc: true
# PUBSPEC CHECKSUM: 0d6d
# PUBSPEC CHECKSUM: fe66
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment