I'm setting up react-native build in AppCenter.
Everything works on test projects, but in a real repository I'm facing the following issue:
For best performance, the analysis is currently limited to four directory levels including the root of your repository. (Quote from official docs)
My package.json is 2 levels deep (/folder1/folder2/package.json
), so build.gradle
is located 5 levels deep (/folder1/folder2/android/app/build.gradle
).
So when I set up the build in AppCenter I'm able to specify the Project
field (pointing to my package.json
), but Build Variant
combobox is empty.
Is there any solution for that? Can I specify Build Variant
manually?
P.S. If I simply move the project one folder above - everything works fine. But I can't do that in my monorepository.