//add to rootProject bottom
apply from: "https://gitee.com/DonaldDu/OpenGradleScript/raw/master/mavenPublish.gradle"

//publish lib
mavenPublish("group:artifactId:version")
Copy the code

See MavenPublish for more