Skip to content
narkisr edited this page Mar 17, 2012 · 2 revisions

The plugin uses a single configuration file called liquid.conf, in order to generate a new configuration file:

 $ gradle genconf

Note that you can generated pre populated (useful in Jenkins):

 $ gradle -PdbPass=pass -PdbUser=user -PdbName=play -PdbHost=hostname -Ptype=mysql genconf

The file contents is pure groovy code:

[
 dbs:  [// You can add multiple database, see wiki for details
     [user: '', pass: '', host: '', name: '', changeLog: 'src/main/groovy/com/kenshoo/liquibase/all_versions.groovy', type:'mysql'] 
  ],

 defaults: [
    /* here you can add default input like: contexts:'c1,c2,c3',verbose:'true' */
    contexts:'regular,heavyAlter,qaOnly,performanceOnly' 
  ]
]
Clone this wiki locally