diff --git a/settings.gradle b/settings.gradle index efcc896247a..4f5dfa4e3da 100644 --- a/settings.gradle +++ b/settings.gradle @@ -249,9 +249,11 @@ project(':docker-java-and-python').projectDir = file('docker/java-and-python') include(':docker-runtime-base') project(':docker-runtime-base').projectDir = file('docker/runtime-base') -file("${rootDir}/docker/registry").list().each {name -> - include(":docker-${name}") - project(":docker-${name}").projectDir = file("${rootDir}/docker/registry/${name}") +file("${rootDir}/docker/registry").list().each { name -> + if (file("${rootDir}/docker/registry/${name}/gradle.properties").exists()) { + include(":docker-${name}") + project(":docker-${name}").projectDir = file("${rootDir}/docker/registry/${name}") + } } // Apply "vanity naming" (look for .gradle files matching ProjectName/ProjectName.gradle)