Foros de discusión

OSGi Module Patching Guide

Ravi Shankar, modificado hace 7 años.

OSGi Module Patching Guide

Junior Member Mensajes: 40 Fecha de incorporación: 13/07/16 Mensajes recientes
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, modificado hace 7 años.

RE: OSGi Module Patching Guide

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
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!