23 lines
577 B
Groovy
23 lines
577 B
Groovy
apply plugin: 'org.flywaydb.flyway'
|
|
|
|
dependencies {
|
|
compile project(':dbt-core')
|
|
|
|
runtime ratpack.dependency('handlebars')
|
|
runtime ratpack.dependency('h2')
|
|
runtime ratpack.dependency('jdbc-tx')
|
|
|
|
compile 'org.flywaydb:flyway-core:5.0.7'
|
|
runtime 'org.slf4j:slf4j-simple:1.7.25'
|
|
|
|
testCompile ratpack.dependency('test')
|
|
testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
|
|
testCompile 'cglib:cglib:2.2.2'
|
|
testCompile 'org.objenesis:objenesis:2.1'
|
|
}
|
|
|
|
flyway {
|
|
url = 'jdbc:h2:mem:dbtdb'
|
|
user = 'SA'
|
|
}
|
|
run.dependsOn(flywayMigrate) |