# Build Multi Java Projects

**URL:** <https://discuss.gradle.org/t/build-multi-java-projects/10238>\
**Category:** Help/Discuss\
**Created:** [June 23, 2015, 12:30pm UTC](https://discuss.gradle.org/t/build-multi-java-projects/10238 "2015-06-23T12:30:13Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Francois\_Guillot](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/francois_guillot/32/8566_2.png) [@Francois\_Guillot](https://discuss.gradle.org/u/Francois_Guillot)\
**Post date:** [June 23, 2015, 7:30pm UTC](https://discuss.gradle.org/t/build-multi-java-projects/10238/7 "2015-06-23T19:30:32Z")

</div>

Wow wow wow  
Did you declare the settings.gradle like that?

include(“foo”)  
project(":foo") {  
projectDir = new File("$settingsDir/…/…/bar")  
}

I found this old thread [Reference external project as dependancy?](https://discuss.gradle.org/t/reference-external-project-as-dependancy/6134/3)  
This is close to what you wrote initially, except the missing ‘include’

---

_[View the full topic](https://discuss.gradle.org/t/build-multi-java-projects/10238)._
