Thursday, 1 November 2018

Build WSDD and configuration

1> Add this in build.gradle of service module


buildscript {
    dependencies {
        classpath group: "com.liferay", name: "com.liferay.gradle.plugins.wsdd.builder", version: "1.0.10"
    }

    repositories {
        maven {
            url "https://repository-cdn.liferay.com/nexus/content/groups/public"
        }
    }
}




apply plugin: "com.liferay.portal.tools.wsdd.builder"



2> Add below dependancy in both build.gradle(api and servcie)


compileOnly group: 'com.liferay', name: 'com.liferay.osgi.util', version: '4.1.0'



with above configuration you will get buildWSDD goal and you will be able to build genrate file by doing this.


Ref :

https://dev.liferay.com/develop/reference/-/knowledge_base/7-0/wsdd-builder-gradle-plugin

No comments:

Post a Comment