I should clarify I am helping debug a fellow developer’s complex gradle issue, so I am still learning what the build script is doing. I discovered that the project build.gradle
depends on gradle intermediate build paths like build/outputs/aar
to store additional files that needed to be included in the final aar. This isn’t ideal as gradle may have changed how they handled the intermediate build steps and somehow clean out the additional files only on the 1st build and not subsequent builds. BTW, is there a reliable way to create a fat aar that includes files from an external source? I googled but couldn’t find a reliable way to do this still it seems. Any input is much appreciated. Thanks.