Fix flutter_tools use of --local-engine-host (#132648)

PR #132346 added the use of --local-engine-host to flutter_tools internals, and had an error on one line. Fix that error, to use the correct field name.

The error occurs when building plugins with the changed tools.
This commit is contained in:
William Hesse 2023-08-16 14:00:25 +02:00 committed by GitHub
parent 5fd9fc174d
commit 3423226958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -331,7 +331,7 @@ class FlutterPlugin implements Plugin<Project> {
if (!engineHostOut.isDirectory()) {
throw new GradleException('local-engine-host-out must point to a local engine host build')
}
localEngineHostOut = engineHostOut.name
localEngineHost = engineHostOut.name
}
project.android.buildTypes.all this.&addFlutterDependencies
}