Make Gradle error message more specific (#31850)

This commit is contained in:
Todd Volkert 2019-05-01 10:28:57 -07:00 committed by GitHub
parent 74c6237abc
commit 3d09f939ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,7 +126,7 @@ class FlutterPlugin implements Plugin<Project> {
} }
flutterJar = Paths.get(engineOut.absolutePath, "flutter.jar").toFile() flutterJar = Paths.get(engineOut.absolutePath, "flutter.jar").toFile()
if (!flutterJar.isFile()) { if (!flutterJar.isFile()) {
throw new GradleException('Local engine build does not contain flutter.jar') throw new GradleException('File not found: ' + flutterJar)
} }
localEngine = engineOut.name localEngine = engineOut.name