mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-24 09:08:17 +00:00
34 lines
717 B
Groovy
34 lines
717 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
apply plugin: 'jacoco'
|
|
|
|
dependencies {
|
|
|
|
compile project(':metadata-models')
|
|
compile externalDependency.httpAsyncClient
|
|
compile externalDependency.jacksonDataBind
|
|
compileOnly externalDependency.lombok
|
|
annotationProcessor externalDependency.lombok
|
|
testCompile externalDependency.mockito
|
|
testCompile externalDependency.mockServer
|
|
testCompile externalDependency.mockServerClient
|
|
}
|
|
|
|
jacocoTestReport {
|
|
dependsOn test // tests are required to run before generating the report
|
|
}
|
|
|
|
test {
|
|
useJUnit()
|
|
finalizedBy jacocoTestReport
|
|
}
|
|
|
|
shadowJar {
|
|
zip64=true
|
|
classifier=''
|
|
}
|
|
|
|
assemble {
|
|
dependsOn shadowJar
|
|
}
|