Graille Sync with no-Android Project
Answered
It seems that Gradle project are not automatically synced if the project is a gradle project but not an Android project.
For example, adding dependency to build.grade does not sync in IntelliJ project and I have to manually reimport project.
Is there any workaround for that ?
Please sign in to leave a comment.
Did you try to Refresh the project in the Gradle Projects tool window?
Actually I did not found the icon you are showing in your screen show.. How can I display it ?
And with Android project, it's done automatically...
If your project was imported from Gradle, you will have Gradle Projects tool window, see https://www.jetbrains.com/idea/help/gradle-tool-window.html for details.
In case you don't see it, delete .idea directory and open build.gradle file to reimport the project.
Okay : I got it.
Thanks.
But should sync be made manually ?
No, if you have Use auto-import enabled:
ok, works fine.
Thanks