# Summary - A follow-up PR for #5543. - This PR separates the `airbyte-db` project to two modules: - `lib` is the original `airbyte-db`. - `jooq` is for jOOQ code generation. - This is necessary because the jOOQ generator requires a custom database implementation that can run Flyway migration. So the code generator logic needs to depend on the compilation of the original `airbyte-db` project. # Commits * Separate db to lib and jooq modules * Update dependencies * Add jobs db migrator test * Fix compose build * Add migration dev center * Add schema dump task * Update airbyte-db/lib/README.md * Co-authored-by: Davin Chia <davinchia@gmail.com> * Update readme * Remove bom dependency * Update readme * Use jooq code in db config persistence * Remove AirbyteConfigsTable Co-authored-by: Davin Chia <davinchia@gmail.com>
28 lines
986 B
Groovy
28 lines
986 B
Groovy
plugins {
|
|
id 'application'
|
|
id 'airbyte-docker'
|
|
id 'airbyte-integration-test-java'
|
|
}
|
|
|
|
application {
|
|
mainClass = 'io.airbyte.integrations.destination.postgres.PostgresDestination'
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':airbyte-db:lib')
|
|
implementation project(':airbyte-integrations:bases:base-java')
|
|
implementation project(':airbyte-protocol:models')
|
|
implementation project(':airbyte-integrations:connectors:destination-jdbc')
|
|
|
|
testImplementation project(':airbyte-test-utils')
|
|
|
|
testImplementation "org.testcontainers:postgresql:1.15.1"
|
|
|
|
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test')
|
|
|
|
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.1"
|
|
|
|
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
|
|
integrationTestJavaImplementation files(project(':airbyte-integrations:bases:base-normalization').airbyteDocker.outputs)
|
|
}
|