Are there instructions for adding a Groovy project built with Gradle to a Maven repo?

Are there instructions for adding a Groovy project built with Gradle to a Maven repo? Is it even possible?

Publishing Groovy jars is the same as publishing Java jars. You’d do the same as described here: https://docs.gradle.org/current/userguide/artifact_dependencies_tutorial.html

Are you looking for anything in particular?