# 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>
33 lines
1.4 KiB
Groovy
33 lines
1.4 KiB
Groovy
plugins {
|
|
id 'application'
|
|
id 'airbyte-docker'
|
|
id 'airbyte-integration-test-java'
|
|
}
|
|
|
|
application {
|
|
mainClass = 'io.airbyte.integrations.source.mysql.MySqlSource'
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':airbyte-db:lib')
|
|
implementation project(':airbyte-integrations:bases:base-java')
|
|
implementation project(':airbyte-integrations:bases:debezium')
|
|
implementation project(':airbyte-integrations:connectors:source-jdbc')
|
|
implementation project(':airbyte-protocol:models')
|
|
implementation project(':airbyte-integrations:connectors:source-relational-db')
|
|
|
|
implementation 'mysql:mysql-connector-java:8.0.22'
|
|
implementation 'org.apache.commons:commons-lang3:3.11'
|
|
|
|
testImplementation testFixtures(project(':airbyte-integrations:bases:debezium'))
|
|
testImplementation testFixtures(project(':airbyte-integrations:connectors:source-jdbc'))
|
|
testImplementation 'org.apache.commons:commons-lang3:3.11'
|
|
testImplementation 'org.testcontainers:mysql:1.15.1'
|
|
|
|
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
|
|
integrationTestJavaImplementation project(':airbyte-integrations:connectors:source-mysql')
|
|
|
|
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
|
|
integrationTestJavaImplementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
|
|
}
|