Skip to content

Fixed: The CD is failing because the new gradle version gives an error for the lib:generateMetadataFileForReleasePublication task.#104

Merged
MohitMaliFtechiz merged 1 commit intomainfrom
Fixes#103
Jun 6, 2024
Merged

Fixed: The CD is failing because the new gradle version gives an error for the lib:generateMetadataFileForReleasePublication task.#104
MohitMaliFtechiz merged 1 commit intomainfrom
Fixes#103

Conversation

@MohitMaliFtechiz
Copy link
Copy Markdown
Collaborator

Fixes #103

  • The issue occurred because generateMetadataFileForReleasePublication uses the output of the androidSourcesJar task, but no dependency was declared on this task. This can lead to incorrect results being produced due to the tasks executing in the wrong order. To fix this, we added an explicit dependency on the GenerateModuleMetadata tasks, ensuring that all GenerateModuleMetadata tasks run after the androidSourcesJar task.

…r for the lib:generateMetadataFileForReleasePublication task.

* The issue occurred because `generateMetadataFileForReleasePublication` uses the output of the `androidSourcesJar` task, but no dependency was declared on this task. This can lead to incorrect results being produced due to the tasks executing in the wrong order. To fix this, we added an explicit dependency on the `GenerateModuleMetadata` tasks, ensuring that all `GenerateModuleMetadata` tasks run after the `androidSourcesJar` task.
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@374f293). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #104   +/-   ##
=======================================
  Coverage        ?   93.23%           
  Complexity      ?      237           
=======================================
  Files           ?       47           
  Lines           ?      325           
  Branches        ?        3           
=======================================
  Hits            ?      303           
  Misses          ?       19           
  Partials        ?        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MohitMaliFtechiz MohitMaliFtechiz merged commit cd8ac21 into main Jun 6, 2024
@MohitMaliFtechiz MohitMaliFtechiz deleted the Fixes#103 branch June 6, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The CD is failing because the new gradle version gives an error for the lib:generateMetadataFileForReleasePublication task.

2 participants