Commit 2a05cfdf authored by Jakob Andersen's avatar Jakob Andersen Committed by GitHub

Remove superfluous (and wrong) target file check (#8367)

parent 6d66be17
...@@ -144,10 +144,6 @@ class FlutterPlugin implements Plugin<Project> { ...@@ -144,10 +144,6 @@ class FlutterPlugin implements Plugin<Project> {
if (project.hasProperty('target')) { if (project.hasProperty('target')) {
target = project.property('target') target = project.property('target')
} }
File targetFile = project.file(Paths.get(project.flutter.source, target).toString())
if (!targetFile.exists()) {
throw new GradleException("Target file $targetFile not found")
}
if (project.tasks.findByName('flutterBuildX86Jar')) { if (project.tasks.findByName('flutterBuildX86Jar')) {
project.compileDebugJavaWithJavac.dependsOn project.flutterBuildX86Jar project.compileDebugJavaWithJavac.dependsOn project.flutterBuildX86Jar
......
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