I'm unable to exit the build process programmatically when I decide that some of the build conditions are not met to perform a build.
I've tried
throw StateError("Universe collapsed, can not continue");
exit(1);
within my custom build script (inside the Future build(BuildStep buildStep)
method), but the build just keeps on going.
How do I say, "just stop building, you won't get anywhere"?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…