Publish a multiplatform library You can publish a multiplatform library to a Maven repository with the maven-publish Gradle plugin . Specify the group, version, and the repositories where the library should be published. The plugin creates publications automatically.