We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cba332f commit 86e6e1cCopy full SHA for 86e6e1c
scripts/publish-module.gradle
@@ -23,6 +23,7 @@ afterEvaluate {
23
publishing {
24
publications {
25
release(MavenPublication) {
26
+ tasks.named("generateMetadataFileForReleasePublication").configure { dependsOn("androidSourcesJar") }
27
// The coordinates of the library, being set from variables that
28
// we'll set up later
29
groupId PUBLISH_GROUP_ID
@@ -36,8 +37,6 @@ afterEvaluate {
36
37
from components.java
38
}
39
- artifact androidSourcesJar
40
-
41
// Mostly self-explanatory metadata
42
pom {
43
name = PUBLISH_ARTIFACT_ID
0 commit comments