Merging conflicts for arrow fx-coroutines & resilience 1.2.4
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.
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?
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?
@serras seems to be coming from https://developer.android.com/tools/jetifier
@nomisRev but I'm still unsure how to reproduce this bug... :/
@devopsmishel could you reproduce this bug with 2.1.1? It's just to know whether we need to investigate more, or 2.x fixed the problem. Thanks in advance!
@devopsmishel hi again! do you maybe have an update on this, or a bit more information so we can reproduce?
I’m closing this issue since we couldn’t find the cause nor got additional information for investigation