A judge dismissed a lawsuit against two area churches and a pastor over a rock quarry in the Belle Mina community.