Closed
Description
The latest build works well with gradlew dist
command. However, The following issue arises when using gradlew dist
more than once(one by one).
Possible Reasons
The error arises due to Gradle 7 upgrade changes, it seems no other changes raise the issue. The issue was not there in Gradle 6.8.3. Jar files are not getting generated properly in build folders of Core, AR, and VR libraries on running gradlew dist
again.
Working Solution
Deleting build folders of respected libraries Core, AR, and VR or just running gradlew clean
before running gradlew dist
resolves the issue. A task can also be defined to delete build folders of libraries on running gradlew dist
just before the task to create jar files.