This is the Gradle extension that configures the Liquibase plugin. All
configuration options will be in the liquibase
block of the
build.gradle file. This block consists of a list of activities and a run
list.
Type | Name and description |
---|---|
org.gradle.api.NamedDomainObjectContainer<Activity> |
activities |
java.lang.Object |
mainClassName Define the name of the Main class in Liquibase that the plucin should call to run Liquibase itself. |
java.lang.Object |
runList Define the list of activities that run for each liquibase task. |
Constructor and description |
---|
LiquibaseExtension
(org.gradle.api.NamedDomainObjectContainer<Activity> activities) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
activities(groovy.lang.Closure closure) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Define the name of the Main class in Liquibase that the plucin should call to run Liquibase itself.
Define the list of activities that run for each liquibase task. This is a string of comma separated activity names. This is a string instead of an array to facilitate the use of Gradle properties. If no runList is defined, the plugin will run all activities.
Groovy Documentation