= Medivh-Publish
++++
++++
Languages: link:./doc/README_zh.adoc[中文文档] | English
Medivh-publisher is a Gradle plugin designed to publish Gradle projects to the Maven Central Repository. This plugin allows you to perform a complete publication without needing to consult any official documentation.
== Requirements
There are two private configurations that every publisher must have.
link:./doc/en/sonatype_guide.adoc[Sonatype Account Guide] | link:./doc/en/gpg_guide.adoc[GPG Guide]
== Quick Start
⚠️ Check the requirements before proceeding.
Please ensure that you have the required configurations before proceeding. This means that you can get five attributes from gradle.
=== Use
In your build.gradle.kts
file, add the following code:
😺 That's right, you read that correctly.
Other than tech.medivh.plugin.publisher
, you don’t need to include any other plugins.
Open your terminal and execute:
😺 Exactly, you don’t even need any configuration.
You will see the following output in https://central.sonatype.com/publishing/deployments[Sonatype]:
image::doc/images/publish-complete.png[]
== Document For more advanced configurations and principles, see the link:./doc/en/document.adoc[Document]