bnd.bnd
Bundle-ClassPath:\
.,\ META-INF/lib/jackson-annotations.jar,\
META-INF/lib/jackson-databind.jar,\
META-INF/lib/jackson-core.jar,\
META-INF/lib/httpclient.jar,\
META-INF/lib/httpcore.jar,\
META-INF/lib/commons-codec.jar
-includeresource:\ META-INF/lib/jackson-annotations.jar=jackson-annotations-2.8.8.jar,\
META-INF/lib/jackson-databind.jar=jackson-databind-2.8.8.jar,\
META-INF/lib/jackson-core.jar=jackson-core-2.8.8.jar,\
META-INF/lib/httpclient.jar=httpclient-4.5.jar,\
META-INF/lib/httpcore.jar=httpcore-4.4.1.jar,\
META-INF/lib/commons-codec.jar=commons-codec-1.9.jar
build.gradle
dependencies {
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel",version: "2.0.0"
compileOnly group: "com.liferay.portal", name: "com.liferay.util.taglib", version: "2.0.0"
compileOnly group: "javax.portlet", name: "portlet-api", version: "2.0"
compileOnly group: "javax.servlet", name: "javax.servlet-api", version: "3.0.1"
compileOnly group: "jstl", name: "jstl", version: "1.2"
compileOnly group: "org.osgi", name: "osgi.cmpn", version: "6.0.0"
compileOnly project(":modules:rsdata:rsdata-api")
compile group: 'commons-codec', name: 'commons-codec', version: '1.9'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5'
compile group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.1'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.8.8'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.8.8'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.8.8'
}
After adding the code synchronize the gradle project which will download all the mentioned jars.
0 comments:
Post a Comment