Skip to content

tineikt/xp-gradle-plugin-sitemerge

Repository files navigation

xp-gradle-plugin-sitemerge

Build Status License

This Gradle plugin does the following:

This is the updated version that supports xp7. There are some changes in the xml schema. ->

and so on

Merges site.xml(com.enonic.xp.app) from included dependencies. It will merge into both your build site.xml and the src site.xml. The merged result will be marked with merged="xp-gradle-plugin-sitemerge-youtube"

 <input name="key" merged="xp-gradle-plugin-sitemerge-{jar}" type="TextLine">
      <label>API key (site)</label>
      <occurrences maximum="1" minimum="1"/>
 </input>

To use this plugin, just add the following to your build.gradle file:

plugins {
  id 'com.enonic.xp.app' version '1.0.17'
  id 'no.tine.gradle.xp7.SiteMerge' version '2.0.0'
}

NB! Needs gradle plugin com.enonic.xp.app.

Add this depends on jar in your build.gradle file.

jar.dependsOn("mergeSitesXml")

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages