Just one suggestion. The /repo section is only significant when publishing packages. When downloading packages, this section is ignored and can be anything.
See here for more info:
Could you make it so githubPackage.invoke can accept just an owner, e.g. maven githubPackage.invoke("OWNER")? This would need to be implicitly replaced with "OWNER/*" (the * is a necessary but discarded placeholder).