2018-05-04 17:23:08 +03:00
|
|
|
apply plugin: 'org.flywaydb.flyway'
|
|
|
|
|
|
|
|
|
|
dependencies {
|
2018-05-05 16:05:06 +03:00
|
|
|
compile project(':dbt-core')
|
2018-05-04 17:23:08 +03:00
|
|
|
|
2018-05-05 16:05:06 +03:00
|
|
|
runtime ratpack.dependency('handlebars')
|
|
|
|
|
runtime ratpack.dependency('h2')
|
|
|
|
|
runtime ratpack.dependency('jdbc-tx')
|
2018-05-04 17:23:08 +03:00
|
|
|
|
2018-05-05 16:05:06 +03:00
|
|
|
compile 'org.flywaydb:flyway-core:5.0.7'
|
|
|
|
|
runtime 'org.slf4j:slf4j-simple:1.7.25'
|
2018-05-04 17:23:08 +03:00
|
|
|
|
|
|
|
|
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)
|