Modify your build.gradle as follows to call this out, in case you use gradle directly w/out maven:
Add java plugin: apply plugin: 'java'
Add dependency on obevo-dist:
dependencies { ... testCompile 'com.goldmansachs.obevo:obevo-cli:${obevo.version}' }
Create a new task:
``` task(testDatabaseDeploy, dependsOn:‘classes’, type:JavaExec, description:‘Test database deployment’) { main = “com.gs.obevo.dist.Main” classpath = sourceSets.test.runtimeClasspath args ‘DEPLOY’, ‘-sourcePath’, ‘src/main/database’, ‘-env’, ‘test’, ‘-noPrompt’
// Use the '-cleanFirst' argument to wipe the db first!