Skip to content

Commit

Permalink
Remove custom null safety analysis_options files (flutter#3339)
Browse files Browse the repository at this point in the history
  • Loading branch information
amirh committed Dec 16, 2020
1 parent aa8fcb4 commit 5482d9a
Show file tree
Hide file tree
Showing 17 changed files with 14 additions and 81 deletions.
4 changes: 0 additions & 4 deletions packages/connectivity/connectivity/analysis_options.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion packages/connectivity/connectivity/example/pubspec.yaml
Expand Up @@ -19,5 +19,5 @@ flutter:
uses-material-design: true

environment:
sdk: ">=2.1.0 <3.0.0"
sdk: ">=2.12.0-0 <3.0.0"
flutter: ">=1.12.13+hotfix.5 <2.0.0"
Expand Up @@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// TODO(amirh): Remove this once flutter_driver supports null safety.
// https://github.com/flutter/flutter/issues/71379
// @dart = 2.9

import 'dart:convert';
import 'dart:io';
import 'package:flutter_driver/flutter_driver.dart';
Expand Down

This file was deleted.

4 changes: 0 additions & 4 deletions packages/device_info/device_info/analysis_options.yaml

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions packages/plugin_platform_interface/analysis_options.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions packages/share/example/ios/Runner.xcodeproj/project.pbxproj
Expand Up @@ -197,7 +197,6 @@
97C146EC1CF9000F007C117D /* Resources */,
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
12A149CFB1B2610A83692801 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -268,24 +267,6 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
12A149CFB1B2610A83692801 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
"${PODS_ROOT}/../Flutter/Flutter.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down
4 changes: 0 additions & 4 deletions packages/url_launcher/url_launcher/analysis_options.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion packages/url_launcher/url_launcher/example/pubspec.yaml
Expand Up @@ -20,5 +20,5 @@ flutter:
uses-material-design: true

environment:
sdk: ">=2.1.0 <3.0.0"
sdk: ">=2.12.0-0 <3.0.0"
flutter: ">=1.12.13+hotfix.5 <2.0.0"

This file was deleted.

4 changes: 0 additions & 4 deletions packages/video_player/video_player/analysis_options.yaml

This file was deleted.

Expand Up @@ -2,6 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.


// TODO(amirh): Remove this once flutter_driver supports null safety.
// https://github.com/flutter/flutter/issues/71379
// @dart = 2.9

import 'package:flutter/material.dart';
import 'package:integration_test/integration_test.dart';
import 'package:flutter_test/flutter_test.dart';
Expand All @@ -11,7 +16,7 @@ const Duration _playDuration = Duration(seconds: 1);

void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
late VideoPlayerController _controller;
VideoPlayerController _controller;
tearDown(() async => _controller.dispose());

group('asset videos', () {
Expand Down
2 changes: 1 addition & 1 deletion packages/video_player/video_player/example/pubspec.yaml
Expand Up @@ -27,5 +27,5 @@ flutter:
- assets/bumble_bee_captions.srt

environment:
sdk: ">=2.8.0 <3.0.0"
sdk: ">=2.12.0-0 <3.0.0"
flutter: ">=1.12.13+hotfix.5 <2.0.0"

This file was deleted.

12 changes: 0 additions & 12 deletions packages/video_player/video_player_web/analysis_options.yaml

This file was deleted.

11 changes: 1 addition & 10 deletions script/incremental_build.sh
Expand Up @@ -29,17 +29,8 @@ fi
#
# TODO(mklim): Remove everything from this list. https://github.com/flutter/flutter/issues/45440
CUSTOM_ANALYSIS_PLUGINS=(
"plugin_platform_interface"
"video_player/video_player"
"video_player/video_player_platform_interface"
"video_player/video_player_web"
"url_launcher/url_launcher_platform_interface"
"url_launcher/url_launcher"
"device_info/device_info_platform_interface"
"device_info/device_info"
"connectivity/connectivity_platform_interface"
"connectivity/connectivity"
)

# Comma-separated string of the list above
readonly CUSTOM_FLAG=$(IFS=, ; echo "${CUSTOM_ANALYSIS_PLUGINS[*]}")
# Set some default actions if run without arguments.
Expand Down

0 comments on commit 5482d9a

Please sign in to comment.