@@ -59,48 +59,36 @@ extra["PUBLISH_ARTIFACT_NAME"] = "Android Pluto Base Plugin Module"
5959extra[" PUBLISH_ARTIFACT_DESCRIPTION" ] = " Open Sourced, on-device debugger for Android apps"
6060
6161mavenPublishing {
62- // Define coordinates for the published artifact
6362 coordinates(
6463 groupId = extra[" PUBLISH_GROUP_ID" ] as String ,
6564 artifactId = extra[" PUBLISH_ARTIFACT_ID" ] as String ,
6665 version = verPublish
6766 )
68-
69- // Configure POM metadata for the published artifact
7067 pom {
7168 name.set(extra[" PUBLISH_ARTIFACT_NAME" ] as String )
7269 description.set(extra[" PUBLISH_ARTIFACT_DESCRIPTION" ] as String )
7370 inceptionYear.set(project.findProperty(" pom.inceptionYear" ) as ? String )
7471 url.set(project.findProperty(" pom.url" ) as ? String )
75-
7672 licenses {
7773 license {
7874 name.set(project.findProperty(" pom.license.name" ) as ? String )
7975 url.set(project.findProperty(" pom.license.url" ) as ? String )
8076 }
8177 }
82-
83- // Specify developers information
8478 developers {
8579 developer {
8680 id.set(project.findProperty(" pom.developer.id" ) as ? String )
8781 name.set(project.findProperty(" pom.developer.name" ) as ? String )
8882 email.set(project.findProperty(" pom.developer.email" ) as ? String )
8983 }
9084 }
91-
92- // Specify SCM information
9385 scm {
9486 connection.set(project.findProperty(" pom.scm.connection" ) as ? String )
9587 developerConnection.set(project.findProperty(" pom.scm.developerConnection" ) as ? String )
9688 url.set(project.findProperty(" pom.scm.url" ) as ? String )
9789 }
9890 }
99-
100- // Configure publishing to Maven Central
10191 publishToMavenCentral(SonatypeHost .CENTRAL_PORTAL )
102-
103- // Enable GPG signing for all publications
10492 signAllPublications()
10593}
10694
0 commit comments