Defaults config

kenshoo-parent edited this page Nov 21, 2011 · 1 revision

Another very useful configuration option is default values for liquibase tasks, instead of specifying contexts all the time:

 $ gradle update -Pcontexts='regular,configuration'

You may configure default value for contexts when ever a liquibase task require them:

[
  // ... 
  defaults: [
    /* here you can add default input like: contexts:'c1,c2,c3',verbose:'true' */
    contexts:'regular,configuration' 
  ]
]

Note that if the parameter is specified in the shell its overrides the defaults.