diff --git a/settings.gradle b/settings.gradle index 0799580a9faf..155897051e78 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,4 +1,15 @@ -include "portlets:lcs-portlet" -include "portlets:loop-portlet" -include "portlets:osb-patcher-portlet" -include "portlets:so-portlet" \ No newline at end of file +FileTree testPropertiesFileTree = fileTree(dir: rootDir, include: "**/test/functional/test.properties") + +URI rootURI = rootDir.toURI() + +include testPropertiesFileTree.collect { + File testPropertiesFile -> + + File dir = testPropertiesFile.parentFile.parentFile.parentFile + + URI relativeURI = rootURI.relativize(dir.toURI()) + + String projectPath = relativeURI.path.replace('/' as char, ':' as char) + + ":" + projectPath[0 .. -2] +} as String[] \ No newline at end of file