gradle: Performance improvement when working in projects
gradle: Performance improvement when working in projects

Add code to select the necessary projects to include based upon the
specified tasks and the current directory.

osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi