2021-06-15 08:44:15 -07:00
|
|
|
plugins {
|
|
|
|
|
id 'java'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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')
|
|
|
|
|
implementation project(':metadata-service:restli-client')
|
|
|
|
|
implementation project(':metadata-io')
|
|
|
|
|
implementation project(':ingestion-scheduler')
|
|
|
|
|
implementation project(':metadata-utils')
|
|
|
|
|
implementation project(":entity-registry")
|
|
|
|
|
implementation project(':metadata-events:mxe-avro-1.7')
|
|
|
|
|
implementation project(':metadata-events:mxe-registration')
|
|
|
|
|
implementation project(':metadata-events:mxe-utils-avro-1.7')
|
|
|
|
|
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
|
|
|
|
|
implementation externalDependency.springActuator
|
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
|
|
|
|
|
|
|
|
|
|
clean {
|
|
|
|
|
project.delete("src/main/resources/avro")
|
|
|
|
|
}
|