Add a method to deploy multiple jars from projects without duplicating that code in all gradle build files.
Remove deprecated method.