forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (40 loc) · 1.67 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
plugins {
id 'application'
}
dependencies {
implementation 'io.fabric8:kubernetes-client:5.3.1'
implementation 'io.temporal:temporal-sdk:1.0.4'
implementation 'org.apache.commons:commons-lang3:3.11'
implementation 'org.apache.commons:commons-text:1.9'
implementation 'org.eclipse.jetty:jetty-server:9.4.31.v20200723'
implementation 'org.eclipse.jetty:jetty-servlet:9.4.31.v20200723'
implementation project(':airbyte-api')
implementation project(':airbyte-config:models')
implementation project(':airbyte-config:persistence')
implementation project(':airbyte-db:lib')
implementation project(':airbyte-json-validation')
implementation project(':airbyte-protocol:models')
implementation project(':airbyte-scheduler:persistence')
implementation project(':airbyte-workers')
testImplementation 'org.mockito:mockito-inline:2.13.0'
testImplementation 'org.postgresql:postgresql:42.2.18'
testImplementation 'org.testcontainers:testcontainers:1.15.3'
testImplementation 'org.testcontainers:postgresql:1.15.3'
testImplementation project(':airbyte-commons-docker')
}
mainClassName = 'io.airbyte.container_orchestrator.ContainerOrchestratorApp'
application {
mainClass = mainClassName
applicationDefaultJvmArgs = ['-XX:MaxRAMPercentage=75.0']
}
task copyGeneratedTar(type: Copy) {
dependsOn copyDocker
dependsOn distTar
from('build/distributions') {
include 'airbyte-container-orchestrator-*.tar'
}
into 'build/docker/bin'
}
Task dockerBuildTask = getDockerBuildTask("container-orchestrator", "$project.projectDir")
dockerBuildTask.dependsOn(copyGeneratedTar)
assemble.dependsOn(dockerBuildTask)