forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (45 loc) · 1.17 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import org.jsonschema2pojo.SourceType
plugins {
id "com.github.eirnym.js2p" version "1.0"
}
dependencies {
implementation project(':airbyte-json-validation')
implementation project(':airbyte-protocol:models')
implementation project(':airbyte-commons')
}
jsonSchema2Pojo {
sourceType = SourceType.YAMLSCHEMA
source = files("${sourceSets.main.output.resourcesDir}/types")
targetDirectory = new File(project.buildDir, 'generated/src/gen/java/')
targetPackage = 'io.airbyte.config'
useLongIntegers = true
removeOldOutput = true
generateBuilders = true
includeConstructors = false
includeSetters = true
serializable = true
}
test {
useJUnitPlatform {
excludeTags 'log4j2-config', 'logger-client'
}
testLogging {
events "passed", "skipped", "failed"
}
}
task log4j2IntegrationTest(type: Test) {
useJUnitPlatform {
includeTags 'log4j2-config'
}
testLogging {
events "passed", "skipped", "failed"
}
}
task logClientsIntegrationTest(type: Test) {
useJUnitPlatform {
includeTags 'logger-client'
}
testLogging {
events "passed", "skipped", "failed"
}
}