Commit 36218f1d authored by Nikolay Igotti's avatar Nikolay Igotti

Check if remote signer returns decent data.

parent 2ad77387
......@@ -412,6 +412,11 @@ fun remoteSign(signHost: String, lib: File, out: File) {
println(out)
println(err)
throw GradleException("Cannot sign $lib: $err")
} else {
val outSize = out.length()
if (outSize < 200 * 1024) {
throw GradleException("Output is too short: $outSize")
}
}
}
......
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