1
Files
dbt/docker-ledger/build.gradle

22 lines
553 B
Groovy
Raw Normal View History

2018-05-27 20:06:09 +03:00
apply plugin: 'docker'
group 'com.devsoap'
dependencies {
compile project(':dbt-core')
runtime ratpack.dependency('h2')
runtime ratpack.dependency('jdbc-tx')
runtime 'org.slf4j:slf4j-simple:1.7.25'
}
run {
environment('RATPACK_DBT__EXECUTOR__REMOTE_URL', findProperty('executorURL').toString() ?: "http://localhost:5050/executor")
}
distDocker {
registry = findProperty('dockerRegistry')
tagVersion = 'latest'
exposePort 5050
run.environment.each {key,value -> setEnvironment(key.toString(), value.toString())}
}