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

This commit is contained in:
Jakob Andersen
2017-02-23 16:27:30 +01:00
committed by GitHub
parent 6d66be17b9
commit 2a05cfdf07

View File

@@ -144,10 +144,6 @@ class FlutterPlugin implements Plugin<Project> {
if (project.hasProperty('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')) {
project.compileDebugJavaWithJavac.dependsOn project.flutterBuildX86Jar