Skip to content

enonic/xp-gradle-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

240 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XP Gradle Plugins

Actions Status License

Documentation

For Enonic XP 7.x, use version 3.6.2.

For Enonic XP 8.x, use version 4.0.0 or later.

Development

To build and publish the plugin to your local maven repository, run ./gradlew publishToMavenLocal

To use the locally built plugin in your project comment out the plugin line in your build.gradle file:

id 'com.enonic.xp.app' version '4.0.0-A1'

add the following to the top of your build.gradle file:

buildscript {
    repositories {
        mavenLocal()
        gradlePluginPortal()
        maven {
            url = 'https://repo.enonic.com/public'
        }
    }
    dependencies {
        classpath "com.enonic.gradle:xp-gradle-plugin:4.0.0-SNAPSHOT"
    }
}

and add the following after plugins section in your build.gradle file:

apply plugin: 'com.enonic.xp.app'

Releasing

To release a new version of the plugin, change the version in build.gradle.kts (for instance version = "4.0.0", tag the commit with the version number (for instance git tag v4.0.0) and push to GitHub (git push --follow-tags).

After the release is done, update the version in build.gradle.kts to the next snapshot version (for instance version = "4.0.1-SNAPSHOT").

About

Enonic XP Gradle Plugin.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages