Issue #29: Wrapped afterEvaluate callback in an 'if(evaluationSucceeded)' conditional to avoid masking build.gradle exceptions.