You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
If we look at the changes in details of 7.0 from 6.0, I see some changes have been done on buildSrc.jar generation and some deprecated methods of javaCompile have been removed. More information is available here and here I'm looking into it.
The latest build works well with
gradlew dist
command. However, The following issue arises when usinggradlew 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 runninggradlew dist
resolves the issue. A task can also be defined to delete build folders of libraries on runninggradlew dist
just before the task to create jar files.The text was updated successfully, but these errors were encountered: