-spec app_closure(profile(),
[application()]) -> {[application()],
[application()]}.
Return a closure of dependencies for a given set of OTP applications. Note: this function builds all applications.
Return value is a tuple with the following elements: