-
Notifications
You must be signed in to change notification settings - Fork 4.4k
/
Copy pathbuild.gradle
47 lines (37 loc) · 1.28 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
import org.jsonschema2pojo.SourceType
plugins {
id 'airbyte-java-connector'
id "org.jsonschema2pojo" version "1.2.1"
}
java {
compileJava {
options.compilerArgs += "-Xlint:-try,-rawtypes,-unchecked"
}
}
airbyteJavaConnector {
cdkVersionRequired = '0.41.6'
features = ['db-sources', 'datastore-postgres']
useLocalCdk = false
}
application {
mainClass = 'io.airbyte.integrations.source.postgres.PostgresSource'
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
}
dependencies {
implementation 'commons-codec:commons-codec:1.16.0'
implementation 'io.debezium:debezium-embedded:2.6.2.Final'
implementation 'io.debezium:debezium-connector-postgres:2.6.2.Final'
testFixturesApi 'org.testcontainers:postgresql:1.19.0'
testImplementation 'org.hamcrest:hamcrest-all:1.3'
}
jsonSchema2Pojo {
sourceType = SourceType.YAMLSCHEMA
source = files("${sourceSets.main.output.resourcesDir}/internal_models")
targetDirectory = new File(project.buildDir, 'generated/src/gen/java/')
removeOldOutput = true
targetPackage = 'io.airbyte.integrations.source.postgres.internal.models'
useLongIntegers = true
generateBuilders = true
includeConstructors = false
includeSetters = true
}