28 lines
1.1 KiB
Groovy
28 lines
1.1 KiB
Groovy
plugins {
|
|
id 'application'
|
|
id 'airbyte-docker'
|
|
id 'airbyte-integration-test-java'
|
|
id 'airbyte-connector-acceptance-test'
|
|
}
|
|
|
|
application {
|
|
mainClass = 'io.airbyte.integrations.source.mongodb.MongoDbSource'
|
|
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':airbyte-db:db-lib')
|
|
implementation project(':airbyte-integrations:bases:base-java')
|
|
implementation project(':airbyte-protocol:protocol-models')
|
|
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
|
|
implementation project(':airbyte-integrations:connectors:source-relational-db')
|
|
|
|
implementation 'org.mongodb:mongodb-driver-sync:4.4.0'
|
|
|
|
testImplementation libs.connectors.testcontainers.mongodb
|
|
|
|
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
|
|
integrationTestJavaImplementation project(':airbyte-integrations:connectors:source-mongodb-v2')
|
|
integrationTestJavaImplementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
|
|
}
|