Skip to content

Commit

Permalink
Remove GetFlutterSDK dependsOn from producer init.
Browse files Browse the repository at this point in the history
  • Loading branch information
buijs-dev committed Apr 19, 2024
1 parent b4ab741 commit bf149f5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lib/src/cli/task_producer_init.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ProducerInit extends Task {
];

@override
List<Task> dependsOn() => [GetFlutterSDK()];
List<Task> dependsOn() => []; //[GetFlutterSDK()];
}

class _Producer {
Expand Down
2 changes: 1 addition & 1 deletion test/src/cli/task_service_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void main() {

expect(
tasks.getTask(ScriptName.producer, TaskName.init).toString(),
"Instance of Task: ScriptName.producer | TaskName.init | DependsOn: [Instance of Task: ScriptName.producer | TaskName.get | DependsOn: []]",
"Instance of Task: ScriptName.producer | TaskName.init | DependsOn: []",
);

});
Expand Down
4 changes: 0 additions & 4 deletions test/src/systemtest/e2e_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ void main() {
"${Directory.systemTemp.absolute.path}/createklutterpluginit".normalize)
..createSync();

pathToRoot.resolveFile("kradle.env")
..createSync()
..writeAsStringSync("cache=${pathToRoot.absolutePath}");

final producerPlugin =
Directory("${pathToRoot.absolute.path}/$pluginName".normalize);

Expand Down
4 changes: 0 additions & 4 deletions test/src/systemtest/e2e_test_with_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ void main() {
final producerPlugin =
Directory("${pathToRoot.absolute.path}/$pluginName".normalize);

pathToRoot.resolveFile("kradle.env")
..createSync()
..writeAsStringSync("cache=${pathToRoot.absolutePath}");

test("end-to-end test", () async {

/// Create Flutter plugin project.
Expand Down

0 comments on commit bf149f5

Please sign in to comment.