Forums de discussion

OSGi Module Patching Guide

Ravi Shankar, modifié il y a 7 années.

OSGi Module Patching Guide

Junior Member Publications: 40 Date d'inscription: 13/07/16 Publications récentes
Hi All
I am trying to do update modules without modifying the original LPKG file they're packaged in.so for that i followed liferay given process of Compiling the custom module. so regarding that i created one clone module in my worksapce and navigate in to command prompt and i did run gradle assemble command , after running command i am getting issues like: Could not find method provided() for arguments [{
group=com.liferay, name=com.lferay.application.list.api, version=2.0.0}] so where i am doing mistake i am not getting so plz help me..!
thumbnail
David H Nebinger, modifié il y a 7 années.

RE: OSGi Module Patching Guide

Liferay Legend Publications: 14919 Date d'inscription: 02/09/06 Publications récentes
Provided is a special syntax that is supported by the Netflix nebula gradle plugin.

Easiest change is to use compile instead of provided.

If you want to stick with provided, add the following to your buildscript stanza:

dependencies {
    classpath "com.netflix.nebula:gradle-extra-configurations-plugin:3.1.0"
}


You also need to apply the plugin, add this at the root level:


apply plugin: 'nebula.provided-base'








Come meet me at the LSNA!