Skip to content

Commit

Permalink
Fix a publication issue
Browse files Browse the repository at this point in the history
  • Loading branch information
1gravity committed May 29, 2023
1 parent bb2d2ee commit ce40eec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion RTEditor/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,11 @@ afterEvaluate {
val publicationName = project.get("POM_NAME", "publication")
create<MavenPublication>(publicationName) {
from(project.components["release"])

artifact(tasks.named<Jar>("withJavadocJar"))
artifact(tasks.named<Jar>("withSourcesJar"))
tasks.named("generateMetadataFileForAndroid-RTEditorPublication") {
dependsOn("withSourcesJar")
}

pom {
groupId = project.get("POM_GROUP_ID")
Expand Down

0 comments on commit ce40eec

Please sign in to comment.