According to the Resolution Strategy docs I should be able to target a specific module that I can substitute. How can I target a specific module in a specific included library, where both the included library and my app require a 3 third module, and then target the included library in my apps.
For example my app and the included module named myLib both need use of notMyLib
substitute module(’:myLib:com.google.some:thing:4.21.2’) with module(‘notMyLib:com.google.some:thing:4.21.2’’)
This doesn’t work with failure
Could not find method dependencySubstitution() for arguments [build_dws8f2a3fpczygr77uxbgk9g7$_run_closure3$_closure35@47987206] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler