* naively merge all python base modules into one * Formatting changes. Co-authored-by: Davin Chia <davinchia@gmail.com>
21 lines
662 B
Groovy
21 lines
662 B
Groovy
plugins {
|
|
id 'airbyte-python'
|
|
id 'airbyte-docker'
|
|
}
|
|
|
|
airbytePython {
|
|
moduleDirectory 'airbyte_cdk'
|
|
}
|
|
|
|
task generateProtocolClassFilesWithoutLicense(type: Exec) {
|
|
environment 'ROOT_DIR', rootDir.absolutePath
|
|
commandLine 'bin/generate-protocol-files.sh'
|
|
dependsOn ':tools:code-generator:airbyteDocker'
|
|
}
|
|
|
|
// todo: figure out dependencies
|
|
task generateProtocolClassFiles(dependsOn: [generateProtocolClassFilesWithoutLicense, rootProject.spotlessPython])
|
|
rootProject.spotlessPython.mustRunAfter(generateProtocolClassFilesWithoutLicense)
|
|
rootProject.build.dependsOn generateProtocolClassFiles
|
|
installReqs.dependsOn(generateProtocolClassFiles)
|