Revert "serial is a system dep in groovy"

This reverts commit c2bc5d5f0d6fc11b943b34d51a6e1f7d88859bf5.