mirror of
https://github.com/flutter/flutter
synced 2024-09-19 16:21:58 +00:00
Make Gradle error message more specific (#31850)
This commit is contained in:
parent
74c6237abc
commit
3d09f939ba
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue