I am using HtmlLibraryManager to print my client libraries .
I am using the following code to print the client libraries in the page.
HtmlLibraryManager m = getService(slingRequest);
m.writeJsInclude(slingRequest, this.getJspContext().getOut(), st);
the above successfully prints the following :
But I didn't get why the dependencies, and embeds didn't get printed ? Doesn't it support ,please reply.
Please have a look at this reference implementation:- aem-clientlib-async/ClientLibUseObject.java at master · nateyolles/aem-clientlib-async · GitHub
Also, refere to this post