-
Build project
gradle build install
-
Add the plugin to your own build.gradle
-
Create a task derived from :
org.liquigraph.gradle.LiquiGraphTaskDryRun
if you need to test your changelogorg.liquigraph.gradle.LiquiGraphTaskRun
to execute your changelog
-
Set the appropriate parameters
-
You have to copy your changelog into the build directory
Please refer to the liquid graph documentation for details of options and change log syntax.
Name | Description |
---|---|
changelog | path of changelog |
jdbcUri | neo4j connection URI |
username | neo4j username |
password | neo4j password |
gradle.build
buildscript {
repositories {
// Use 'jcenter' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
mavenLocal()
}
dependencies {
classpath group: 'org.liquigraph',
name: 'liquigraph-gradle-plugin',
version: '1.0.0-SNAPSHOT'
}
}
apply plugin: 'org.liquigraph.gradle'
task liquidTest(type: org.liquigraph.gradle.LiquiGraphTaskDryRun) {
changelog = "changelog.xml"
jdbcUri = "jdbc:neo4j://localhost:7474"
username = "neo4j"
password = "didier"
}