GROOVY-6553: Make normal Groovy jars use repackaged dependencies too

For tests before merging.