diff --git a/RTEditor/build.gradle.kts b/RTEditor/build.gradle.kts index 632f8b9..0eabb65 100644 --- a/RTEditor/build.gradle.kts +++ b/RTEditor/build.gradle.kts @@ -125,8 +125,11 @@ afterEvaluate { val publicationName = project.get("POM_NAME", "publication") create(publicationName) { from(project.components["release"]) + artifact(tasks.named("withJavadocJar")) - artifact(tasks.named("withSourcesJar")) + tasks.named("generateMetadataFileForAndroid-RTEditorPublication") { + dependsOn("withSourcesJar") + } pom { groupId = project.get("POM_GROUP_ID")