1
0
mirror of synced 2026-01-31 19:01:59 -05:00
Files
airbyte/airbyte-cdk/python/build.gradle

26 lines
797 B
Groovy

plugins {
id 'airbyte-python'
id 'airbyte-docker-legacy'
}
def generateComponentManifestClassFiles = tasks.register('generateComponentManifestClassFiles', Exec) {
environment 'ROOT_DIR', rootDir.absolutePath
commandLine 'bin/generate-component-manifest-files.sh'
}
generateComponentManifestClassFiles.configure {
dependsOn project(':tools:code-generator').tasks.named('assemble')
}
tasks.register('generate').configure {
dependsOn generateComponentManifestClassFiles
}
tasks.register('validateSourceYamlManifest', Exec) {
environment 'ROOT_DIR', rootDir.absolutePath
commandLine 'bin/validate-yaml-schema.sh'
}
tasks.register('runLowCodeConnectorUnitTests', Exec) {
environment 'ROOT_DIR', rootDir.absolutePath
commandLine 'bin/low-code-unit-tests.sh'
}