Migrate to Gradle maven-publish plugin from deprecated maven plugin

4 jobs for develop in 2 minutes and 24 seconds (queued for 2 seconds)