掲示板

OSGi Module Patching Guide

7年前 に Ravi Shankar によって更新されました。

OSGi Module Patching Guide

Junior Member 投稿: 40 参加年月日: 16/07/13 最新の投稿
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
7年前 に David H Nebinger によって更新されました。

RE: OSGi Module Patching Guide

Liferay Legend 投稿: 14918 参加年月日: 06/09/02 最新の投稿
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!