# How to automate build in gradle?

**URL:** <https://forums.unrealengine.com/t/how-to-automate-build-in-gradle/743685>\
**Category:** Mobile\
**Tags:** unreal-engine\
**Created:** [January 6, 2023, 3:57pm UTC](https://forums.unrealengine.com/t/how-to-automate-build-in-gradle/743685 "2023-01-06T15:57:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PAULASTYA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/paulastya/32/266396_2.png) [@PAULASTYA](https://forums.unrealengine.com/u/PAULASTYA)\
**Post date:** [January 6, 2023, 3:57pm UTC](https://forums.unrealengine.com/t/how-to-automate-build-in-gradle/743685/1 "2023-01-06T15:57:47Z")

</div>

Whenever I edit something in the build.gradle file I need to sync it, but this is available only in the ide s to sync but I don’t want to install android studio or anything in Linux (cause : GUI is not installed in it)  
How can I sync Gradle in the terminal  
`gradlew sync `  
does not work it shows errors but if the same project is synced on my windows machines the gradle commands start working.

Longstory short I want a way to sync gradle in terminal itself.

---

<div class="post-metadata">

**Author:** ![PAULASTYA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/paulastya/32/266396_2.png) [@PAULASTYA](https://forums.unrealengine.com/u/PAULASTYA)\
**Post date:** [January 9, 2023, 4:16pm UTC](https://forums.unrealengine.com/t/how-to-automate-build-in-gradle/743685/2 "2023-01-09T16:16:46Z")

</div>

For solution please refer to this link: [How to automate build in gradle? - Help/Discuss - Gradle Forums](https://discuss.gradle.org/t/how-to-automate-build-in-gradle/44624/2)
