// We add a dependency on all projects dependencies corresponding externalNativeBuild tasks - If these lines are removed, the dependencies are not built as they should be.
if(task.name.startsWith('generateJsonModel')){
...
...
@@ -69,42 +67,35 @@ tasks.whenTaskAdded { task ->
// The following lines reconfigure the assemble, assembleDebug, assembleRelease tasks to just call the native build. All other parts of it are disabled.