Skip to content

diodfr/liquigraph-gradle-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiquiGraph Gradle Plugin

Overview

Usage

  1. Build project gradle build install

  2. Add the plugin to your own build.gradle

  3. Create a task derived from :

    • org.liquigraph.gradle.LiquiGraphTaskDryRun if you need to test your changelog
    • org.liquigraph.gradle.LiquiGraphTaskRun to execute your changelog
  4. Set the appropriate parameters

  5. You have to copy your changelog into the build directory

Parameters

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

Example

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"
}

About

DONT USE IT !!!! WORK IN PROGRESS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published