Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 495d73e

Browse files
author
wangshuwen15222
committed
chore:修改上传脚本task组
1 parent ac153c1 commit 495d73e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

publish-mavencentral.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,13 @@ signing {
105105
sign publishing.publications
106106
}
107107

108-
task zipRepo(type: Zip ) {
108+
task zipRepo(type: Zip) {
109+
group = "publishing"
109110
dependsOn isAar ? 'publishReleasePublicationToMavenRepository' : 'publishMavenJavaPublicationToMavenRepository'
110111
def componentDirPath = "${PUBLISH_GROUP_ID.replace(".", "/")}/$PUBLISH_ARTIFACT_ID/$PUBLISH_VERSION"
111-
112112
archiveBaseName = PUBLISH_ARTIFACT_ID
113113
archiveVersion = PUBLISH_VERSION
114114
destinationDirectory = file("../publish")
115-
116115
from("${rootProject.projectDir}/repo/$componentDirPath") {
117116
into("$componentDirPath")
118117
}

0 commit comments

Comments
 (0)