I was using DocuSign for the digital signature in Liferay 6.2, now we are migrating to Liferay 7.3 with Gradle workspace.
In MVC Portlet:
I tried with this compileOnly group: 'com.docusign', name: 'docusign-esign-java', version: '2.8.0', and got error like Unresolved requirement: Import-Package: com.docusign.esign.api.
and If I tried with this compileInclude group: 'com.docusign', name: 'docusign-esign-java', version: '2.8.0' then i got JAVA Heap space error at runtime. As you mentioned, I modified my UI module by referring to that link. my bnd. bnd file:
Import-Package:\
**!com.sun.jersey.api.container,\
!com.sun.jersey.api.core,\
!com.sun.jersey.api.model,\
!com.sun.jersey.server.impl.inject,\
!com.sun.jersey.server.impl.model.method.dispatch.\
***
and also put an entry in build.gradle as like
**compileInclude group: 'com.docusign', name: 'docusign-esign-java', version: '2.8.0'**
after the module gets started it is immediately throwing exceptions like
FrameworkEvent ERROR org.osgi.framework.ServiceException: Exception in org.apache.felix.scr.impl.manager.SingleComponentManager.getService().
BundleComponentActivator : Unexpected failure enabling component holder.