Small improvement to recipe-template how to configure the docker projects without repeating the name from the settings.gradle
diff --git a/recipe-template/build.gradle b/recipe-template/build.gradle
index c78ca19..3b86351 100644
--- a/recipe-template/build.gradle
+++ b/recipe-template/build.gradle
@@ -19,10 +19,7 @@
project(':org.eclipse.virgo.samples.recipe.xyz'),
]
-ext.dockerProjects = [
- project(':recipe-xyz-runtime'),
- project(':recipe-xyz-app'),
-]
+ext.dockerProjects = subprojects.findAll {it.name.contains('-runtime') || it.name.contains('-app')}
configure(virgoProjects + dockerProjects) {
repositories {