how to do a “Gradle sync” with terminal command? June 4, 2023 by Tarik Before gradle 5.0 we can use ./gradlew --recompile-scripts Will do a sync without building anything