include("Utilities") rootProject.name = "SystemTray" for (project in rootProject.children) { if (project.name == "Utilities") { // utilities are a DIFFERENT than all the other projects, in that they are never built directly, but are embedded into the project project.projectDir = file("../Utilities") project.buildFileName = "build.gradle" } assert (project.projectDir.directory) assert (project.buildFile.file) }