How to include sub-projects in settings.gradle file?

in Multi-project Builds, how to specify multiple subprojects in settings.gradle file. If the projects structures are mentioned as below. Root Project (MultiProject) SubProject1 Directory as - MultiProject/AudioProject/Project1 SubProject2 Directory as - MultiProject/VideoProject/Project2

How to inlucde SubProject1 and SubProject2 in settings.gradle file ? Please help me on this.

1 Like

Add include statements for your subprojects and modify their projectDir. You can see how this is done for Gradle project itself in https://github.com/gradle/gradle/blob/master/settings.gradle

@ Radim Kubacki,

Thanks a lot , it works for me , now i am bale to build multi-projects.