2023-12-15 13:28:33 -06:00
|
|
|
plugins {
|
|
|
|
id 'pegasus'
|
|
|
|
id 'java-library'
|
2024-06-17 19:53:54 -05:00
|
|
|
id 'java-test-fixtures'
|
2023-12-15 13:28:33 -06:00
|
|
|
}
|
2021-06-03 13:24:33 -07:00
|
|
|
|
2024-12-03 06:57:43 +05:30
|
|
|
apply from: "../gradle/coverage/java-coverage.gradle"
|
|
|
|
|
2021-06-03 13:24:33 -07:00
|
|
|
dependencies {
|
2023-09-01 09:06:01 -05:00
|
|
|
implementation spec.product.pegasus.data
|
2024-12-05 11:45:04 -06:00
|
|
|
compileOnly spec.product.pegasus.generator
|
2023-09-01 09:06:01 -05:00
|
|
|
api project(path: ':metadata-models')
|
2023-12-15 13:28:33 -06:00
|
|
|
api project(path: ':metadata-models', configuration: "dataTemplate")
|
2024-01-08 14:20:03 -06:00
|
|
|
api externalDependency.classGraph
|
2022-12-04 21:57:47 -06:00
|
|
|
implementation externalDependency.slf4jApi
|
|
|
|
compileOnly externalDependency.lombok
|
2023-09-01 09:06:01 -05:00
|
|
|
implementation externalDependency.guava
|
|
|
|
implementation externalDependency.jacksonDataBind
|
|
|
|
implementation externalDependency.jacksonDataFormatYaml
|
|
|
|
implementation externalDependency.reflections
|
2024-05-08 20:39:31 -05:00
|
|
|
|
2024-05-09 14:56:03 -05:00
|
|
|
api externalDependency.jsonPatch
|
2024-05-08 20:39:31 -05:00
|
|
|
implementation externalDependency.jsonPathImpl
|
|
|
|
|
2022-12-01 16:43:15 -06:00
|
|
|
constraints {
|
|
|
|
implementation(externalDependency.snakeYaml) {
|
|
|
|
because("previous versions are vulnerable to CVE-2022-25857")
|
|
|
|
}
|
|
|
|
}
|
2024-11-20 00:13:24 +01:00
|
|
|
api project(path: ':li-utils')
|
|
|
|
api project(path: ':li-utils', configuration: "dataTemplate")
|
2021-06-03 13:24:33 -07:00
|
|
|
dataModel project(':li-utils')
|
|
|
|
annotationProcessor externalDependency.lombok
|
|
|
|
|
2023-09-01 09:06:01 -05:00
|
|
|
api externalDependency.mavenArtifact
|
2021-11-28 21:06:27 -08:00
|
|
|
|
2023-09-01 09:06:01 -05:00
|
|
|
testImplementation project(':test-models')
|
|
|
|
testImplementation project(path: ':test-models', configuration: 'testDataTemplate')
|
2024-05-08 20:39:31 -05:00
|
|
|
testImplementation project(':metadata-utils')
|
2023-09-01 09:06:01 -05:00
|
|
|
testImplementation externalDependency.testng
|
|
|
|
testImplementation externalDependency.mockito
|
|
|
|
testImplementation externalDependency.mockitoInline
|
2024-01-08 14:20:03 -06:00
|
|
|
testCompileOnly externalDependency.lombok
|
2024-02-21 18:16:42 -06:00
|
|
|
testAnnotationProcessor externalDependency.lombok
|
2024-01-08 14:20:03 -06:00
|
|
|
testImplementation externalDependency.classGraph
|
2021-06-03 13:24:33 -07:00
|
|
|
|
2024-04-04 12:15:15 -07:00
|
|
|
testImplementation externalDependency.swaggerCore
|
|
|
|
testImplementation spec.product.pegasus.dataAvro
|
|
|
|
testImplementation('io.acryl:json-schema-avro:0.2.2') {
|
|
|
|
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'
|
|
|
|
}
|
|
|
|
|
2024-06-17 19:53:54 -05:00
|
|
|
testFixturesImplementation externalDependency.mockito
|
|
|
|
testFixturesCompileOnly externalDependency.lombok
|
|
|
|
testFixturesAnnotationProcessor externalDependency.lombok
|
2021-11-28 21:06:27 -08:00
|
|
|
}
|
|
|
|
compileTestJava.dependsOn tasks.getByPath(':entity-registry:custom-test-model:modelDeploy')
|
2024-12-03 06:57:43 +05:30
|
|
|
|