-
Notifications
You must be signed in to change notification settings - Fork 4.4k
/
Copy pathbuild.gradle
48 lines (39 loc) · 1.4 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
plugins {
id 'application'
id 'airbyte-java-connector'
}
airbyteJavaConnector {
cdkVersionRequired = '0.13.1'
features = [
'db-sources', // required for tests
'db-destinations'
]
useLocalCdk = true
}
//remove once upgrading the CDK version to 0.4.x or later
java {
compileJava {
options.compilerArgs.remove("-Werror")
}
}
airbyteJavaConnector.addCdkDependencies()
application {
mainClass = 'io.airbyte.integrations.destination.postgres.PostgresDestinationStrictEncrypt'
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
}
dependencies {
implementation project(':airbyte-integrations:connectors:destination-postgres')
// TODO: declare typing-deduping as a CDK feature instead of importing from source.
implementation project(':airbyte-cdk:java:airbyte-cdk:typing-deduping')
testImplementation libs.testcontainers.jdbc
testImplementation libs.testcontainers.postgresql
testFixturesImplementation libs.testcontainers.jdbc
testFixturesImplementation libs.testcontainers.postgresql
integrationTestJavaImplementation testFixtures(project(':airbyte-integrations:connectors:destination-postgres'))
integrationTestJavaImplementation testFixtures(project(':airbyte-cdk:java:airbyte-cdk:typing-deduping'))
}
configurations.all {
resolutionStrategy {
force libs.jooq
}
}