Hello. In installation guide there is part about ./android/build.gradle configuration.
My question is why these dependencies are added for all subprojects? What is the point of that?
Having this in build.gradle might break project build if some ofther dependencies are included in package.json, for example, problem spotted with react-native-reanimated.
subprojects {
afterEvaluate {
dependencies {
// Change abbyy-mi-sdk-2.0 to abbyy-rtr-sdk-1.0 if you need to use
recognition API (MI+Extended or MI+ExtendedDC)
implementation(name: 'abbyy-mi-sdk-2.0', ext: 'aar')
implementation(name: 'abbyy-ui-1.0', ext: 'aar')
}
}
}
Example of error:
A problem occurred configuring project ':react-native-reanimated'.
> Could not find method implementation() for arguments [{name=abbyy-rtr-sdk-1.0, ext=aar}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. ```
Hello. In installation guide there is part about ./android/build.gradle configuration. My question is why these dependencies are added for all subprojects? What is the point of that? Having this in build.gradle might break project build if some ofther dependencies are included in package.json, for example, problem spotted with react-native-reanimated.
Example of error: