[WIP] Update publish to maven

2 jobs for 0.5.0 in 4 minutes and 31 seconds (queued for 1 second)
Name Stage Failure
publishMavenPackage Publish
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 43s
7 actionable tasks: 7 executed
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1