mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-17 21:56:56 +00:00
48 lines
1.4 KiB
Groovy
48 lines
1.4 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'pegasus'
|
|
}
|
|
|
|
apply from: '../../gradle/coverage/java-coverage.gradle'
|
|
|
|
configurations {
|
|
avro
|
|
}
|
|
|
|
dependencies {
|
|
avro project(path: ':metadata-models', configuration: 'avroSchema')
|
|
implementation project(':li-utils')
|
|
implementation project(':metadata-events:mxe-avro')
|
|
implementation project(':metadata-events:mxe-registration')
|
|
implementation project(':metadata-events:mxe-utils-avro')
|
|
implementation(project(':metadata-service:factories')) {
|
|
exclude group: 'org.neo4j.test'
|
|
}
|
|
implementation externalDependency.springKafka
|
|
implementation externalDependency.slf4jApi
|
|
compileOnly externalDependency.lombok
|
|
annotationProcessor externalDependency.lombok
|
|
runtimeOnly externalDependency.logbackClassic
|
|
testImplementation externalDependency.mockito
|
|
testRuntimeOnly externalDependency.logbackClassic
|
|
testImplementation externalDependency.springBootTest
|
|
testImplementation externalDependency.testng
|
|
testImplementation project(':metadata-operation-context')
|
|
}
|
|
|
|
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
|
|
processResources.dependsOn avroSchemaSources
|
|
|
|
clean {
|
|
delete "src/main/resources/avro"
|
|
} |