Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging conflicts for arrow fx-coroutines & resilience 1.2.4 #3564

Open
devopsmishel opened this issue Jan 17, 2025 · 2 comments
Open

Merging conflicts for arrow fx-coroutines & resilience 1.2.4 #3564

devopsmishel opened this issue Jan 17, 2025 · 2 comments

Comments

@devopsmishel
Copy link

Hey, I have ran into an issue where building my app in CI fails with the following exception:

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:mergeMyresConfigsReleaseJavaResource'.

A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
2 files found with path 'nativeMain/default/linkdata/root_package/0_.knm' from inputs:

  - /var/workspace/MISC.vcu_maindev.multi-PR.OnDemand.github/out/gradle/.intermediates/vendor/gm/packages/services/GMEnergyAssist/.gradle/caches/transforms-3/5cb93b09a56cf1bed0b62a46cf738137/transformed/jetified-arrow-fx-coroutines-1.2.4.jar

  - /var/workspace/MISC.vcu_maindev.multi-PR.OnDemand.github/out/gradle/.intermediates/vendor/gm/packages/services/GMEnergyAssist/.gradle/caches/transforms-3/a37178d7e2e7d41d1eecc44b3797ff38/transformed/jetified-arrow-resilience-1.2.4.jar

Note that this is not the only conflicting files and from searching in JAR files I noticed a few duplicate files with different content, is there a resolution to this issue besides using 'pickFirst' for all the duplicate files which will probably hinder the libraries logic.

@serras
Copy link
Member

serras commented Jan 21, 2025

To be honest, I'm a bit lost in what jetified-arrow-fx-coroutines-1.2.4.jar actually is. Is this transformed or bundled with some other library?

@serras
Copy link
Member

serras commented Jan 25, 2025

This may be due to the fact that in 1.2.4 some functions have been moved around, and the previous ones marked as deprecated. @devopsmishel could you maybe try with 2.0.1, in which every deprecated (and potentially duplicated) function is now gone?

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

No branches or pull requests

2 participants