Skip to content

Commit 86e6e1c

Browse files
committed
fix publish script
1 parent cba332f commit 86e6e1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/publish-module.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ afterEvaluate {
2323
publishing {
2424
publications {
2525
release(MavenPublication) {
26+
tasks.named("generateMetadataFileForReleasePublication").configure { dependsOn("androidSourcesJar") }
2627
// The coordinates of the library, being set from variables that
2728
// we'll set up later
2829
groupId PUBLISH_GROUP_ID
@@ -36,8 +37,6 @@ afterEvaluate {
3637
from components.java
3738
}
3839

39-
artifact androidSourcesJar
40-
4140
// Mostly self-explanatory metadata
4241
pom {
4342
name = PUBLISH_ARTIFACT_ID

0 commit comments

Comments
 (0)