Kotlin & Maven - package naming

I’m confused about package naming conventions when using Kotlin with the aim of deploying to maven. I don’t have my own domain, so I’m using github for my groupid. According to the OSSRH page, since my url is github.com/gabriel-shanahan, my groupid should be io.github.gabriel-shanahan. This however contains a hyphen, which is not allowed in package names, so according to the Java language specification, I should replace the hyphen with an underscore. This is in direct contradiction to what the Kotlin Code Conventions specify.

What is the correct way to solve this issue?

Use JLS conventions and consider Kotlin style buggy. See also: https://youtrack.jetbrains.com/issue/KT-27900

Thanks, I ended up changing my GitHub username, it seemed preferable to dealing with failing code analysis tools in every project from now until whenever this gets solved. This should definitely be addressed though.