1
0
mirror of synced 2026-01-06 06:04:16 -05:00
Files
airbyte/airbyte-protocol/models/build.gradle
Jared Rhizor bd14fffe69 stream/field name validation/filtering (#1004)
* add stream and field name validation in discovery

* fix resource handling

* filter out streams with invalid stream or field names in the sync worker

* remove accidental commit

* add unicode key to test

* add another unicode test to isValidIdentifier

* update docs to reflect this change
2020-11-18 10:28:44 -08:00

25 lines
644 B
Groovy

import org.jsonschema2pojo.SourceType
plugins {
id 'com.github.eirnym.js2p' version '1.0'
}
dependencies {
implementation 'javax.validation:validation-api:1.1.0.Final'
implementation 'org.apache.commons:commons-lang3:3.11'
}
jsonSchema2Pojo {
sourceType = SourceType.YAMLSCHEMA
source = files("${sourceSets.main.output.resourcesDir}/airbyte_protocol")
targetDirectory = new File(project.buildDir, 'generated/src/gen/java/')
removeOldOutput = true
targetPackage = 'io.airbyte.protocol.models'
useLongIntegers = true
generateBuilders = true
includeConstructors = false
includeSetters = true
}