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


(Dasthagiri Shaik) #1

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.


Importing Java libraries into settings.gradle
(Radim Kubacki) #2

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


(Dasthagiri Shaik) #3

@ Radim Kubacki,

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