2021-06-15 08:44:15 -07:00
|
|
|
plugins {
|
2024-04-16 13:50:41 -05:00
|
|
|
id 'java-library'
|
2021-06-15 08:44:15 -07:00
|
|
|
}
|
2024-12-03 06:57:43 +05:30
|
|
|
apply from: '../../gradle/coverage/java-coverage.gradle'
|
2021-06-15 08:44:15 -07:00
|
|
|
apply plugin: 'pegasus'
|
|
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
|
avro
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
avro project(path: ':metadata-models', configuration: 'avroSchema')
|
|
|
|
|
|
2023-09-01 09:06:01 -05:00
|
|
|
implementation project(':li-utils')
|
|
|
|
|
implementation(project(':metadata-service:factories')) {
|
2021-06-15 08:44:15 -07:00
|
|
|
exclude group: 'org.neo4j.test'
|
|
|
|
|
}
|
2023-09-01 09:06:01 -05:00
|
|
|
implementation project(':metadata-service:auth-config')
|
2024-03-23 06:15:36 -05:00
|
|
|
implementation project(':metadata-service:restli-client-api')
|
2023-09-01 09:06:01 -05:00
|
|
|
implementation project(':metadata-io')
|
|
|
|
|
implementation project(':ingestion-scheduler')
|
|
|
|
|
implementation project(':metadata-utils')
|
|
|
|
|
implementation project(":entity-registry")
|
2023-10-18 13:45:46 -05:00
|
|
|
implementation project(':metadata-events:mxe-avro')
|
2023-09-01 09:06:01 -05:00
|
|
|
implementation project(':metadata-events:mxe-registration')
|
2023-10-18 13:45:46 -05:00
|
|
|
implementation project(':metadata-events:mxe-utils-avro')
|
2023-09-01 09:06:01 -05:00
|
|
|
implementation project(':datahub-graphql-core')
|
2021-06-15 08:44:15 -07:00
|
|
|
|
2023-09-01 09:06:01 -05:00
|
|
|
implementation externalDependency.elasticSearchRest
|
|
|
|
|
implementation externalDependency.kafkaAvroSerde
|
2022-12-26 10:09:08 -06:00
|
|
|
implementation externalDependency.protobuf
|
2023-09-01 09:06:01 -05:00
|
|
|
implementation externalDependency.neo4jJavaDriver
|
2021-06-15 08:44:15 -07:00
|
|
|
|
2023-09-01 09:06:01 -05:00
|
|
|
implementation externalDependency.springKafka
|
2024-04-16 13:50:41 -05:00
|
|
|
implementation externalDependency.annotationApi
|
2025-01-29 11:30:44 -06:00
|
|
|
implementation externalDependency.opentelemetrySdkTrace
|
2025-04-04 11:51:10 -03:00
|
|
|
implementation externalDependency.opentelemetrySdkMetrics
|
2021-06-15 08:44:15 -07:00
|
|
|
|
2022-12-04 21:57:47 -06:00
|
|
|
implementation externalDependency.slf4jApi
|
2021-06-15 08:44:15 -07:00
|
|
|
compileOnly externalDependency.lombok
|
|
|
|
|
|
|
|
|
|
annotationProcessor externalDependency.lombok
|
|
|
|
|
|
2023-09-01 09:06:01 -05:00
|
|
|
runtimeOnly externalDependency.logbackClassic
|
2022-01-12 23:49:34 -06:00
|
|
|
|
2023-09-01 09:06:01 -05:00
|
|
|
testImplementation externalDependency.mockito
|
2022-01-12 23:49:34 -06:00
|
|
|
implementation externalDependency.awsMskIamAuth
|
2023-04-07 11:10:05 -05:00
|
|
|
|
2023-09-21 13:01:55 -05:00
|
|
|
testImplementation externalDependency.testng
|
2023-04-07 11:10:05 -05:00
|
|
|
testImplementation externalDependency.springBootTest
|
2023-09-01 09:06:01 -05:00
|
|
|
testRuntimeOnly externalDependency.logbackClassic
|
2021-06-15 08:44:15 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
task avroSchemaSources(type: Copy) {
|
|
|
|
|
dependsOn configurations.avro
|
|
|
|
|
|
|
|
|
|
from { // use of closure defers evaluation until execution time
|
|
|
|
|
configurations.avro.collect { zipTree(it) }
|
|
|
|
|
}
|
|
|
|
|
into("src/main/resources/")
|
|
|
|
|
include("avro/com/linkedin/mxe/")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
compileJava.dependsOn avroSchemaSources
|
2023-12-15 13:28:33 -06:00
|
|
|
processResources.dependsOn avroSchemaSources
|
2021-06-15 08:44:15 -07:00
|
|
|
|
|
|
|
|
clean {
|
2025-03-10 22:43:31 +05:30
|
|
|
delete "src/main/resources/avro"
|
2021-06-15 08:44:15 -07:00
|
|
|
}
|