* Prepare database access objects for dependency injection * Replace duplicate code * Remove unused imports * Remove redundant validation call * Remove unused imports * Use constants * Disable fast fail during connection pool initialization * Remove typo * Add missing test dependency * Add missing test dependency * Add missing test dependency * Fix issue caused by rebase * Add method for cloud * Autoclose DSL context during migration * Better connection close handling * Fix typo in dependency * Fix SpotBugs issue * React to rebase * Fix typo * Update JavaDoc * Fix database close calls * Pass configs to getServer * Fix typo * Fix call to removed method * Fix typo * Use catalog to manage versions * PR feedback * Centralize shutdown hook * Fix rebase issues * Document test cases * Document test cases * Formatting * Properly close database resources * Rebase cleanup
27 lines
1.1 KiB
Groovy
27 lines
1.1 KiB
Groovy
plugins {
|
|
id 'application'
|
|
id 'airbyte-docker'
|
|
id 'airbyte-integration-test-java'
|
|
}
|
|
|
|
application {
|
|
mainClass = 'io.airbyte.integrations.source.clickhouse.ClickHouseSource'
|
|
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':airbyte-db:lib')
|
|
implementation project(':airbyte-integrations:bases:base-java')
|
|
implementation project(':airbyte-integrations:connectors:source-jdbc')
|
|
implementation project(':airbyte-integrations:connectors:source-relational-db')
|
|
implementation project(':airbyte-protocol:models')
|
|
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
|
|
|
|
implementation 'ru.yandex.clickhouse:clickhouse-jdbc:0.3.1'
|
|
|
|
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
|
|
integrationTestJavaImplementation project(':airbyte-integrations:connectors:source-clickhouse')
|
|
integrationTestJavaImplementation testFixtures(project(':airbyte-integrations:connectors:source-jdbc'))
|
|
integrationTestJavaImplementation libs.testcontainers.clickhouse
|
|
}
|