Skip to content

Commit cd8ac21

Browse files
Merge pull request #104 from kiwix/Fixes#103
Fixed: The CD is failing because the new gradle version gives an error for the lib:generateMetadataFileForReleasePublication task.
2 parents 374f293 + 3bdbdbd commit cd8ac21

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

lib/publish.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ afterEvaluate {
7171
}
7272
}
7373
}
74+
75+
// Set dependency for the metadata file generation task
76+
tasks.withType(GenerateModuleMetadata).tap {
77+
configureEach {
78+
dependsOn tasks.named("androidSourcesJar")
79+
}
80+
}
7481
}
7582

7683
signing {

0 commit comments

Comments
 (0)