mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-01 19:25:56 +00:00
54 lines
1.3 KiB
Groovy
54 lines
1.3 KiB
Groovy
apply plugin: 'java'
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
apply plugin: 'signing'
|
|
apply plugin: 'maven-publish'
|
|
apply plugin: 'jacoco'
|
|
apply from: '../versioning.gradle'
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(path: ':entity-registry')
|
|
implementation project(path: ':metadata-integration:java:datahub-event')
|
|
implementation project(path: ':metadata-models')
|
|
implementation project(path: ':metadata-models', configuration: "dataTemplate")
|
|
compileOnly "io.openlineage:openlineage-java:$openLineageVersion"
|
|
|
|
implementation externalDependency.slf4jApi
|
|
implementation externalDependency.commonsLang
|
|
compileOnly externalDependency.lombok
|
|
annotationProcessor externalDependency.lombok
|
|
|
|
implementation externalDependency.json
|
|
|
|
testImplementation externalDependency.testng
|
|
}
|
|
|
|
jacocoTestReport {
|
|
dependsOn test // tests are required to run before generating the report
|
|
}
|
|
|
|
test {
|
|
forkEvery = 1
|
|
useJUnit()
|
|
finalizedBy jacocoTestReport
|
|
}
|
|
|
|
test {
|
|
useJUnit()
|
|
finalizedBy jacocoTestReport
|
|
}
|
|
|
|
//task sourcesJar(type: Jar) {
|
|
// classifier 'sources'
|
|
// from sourceSets.main.allJava
|
|
//}
|
|
|
|
//task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
// classifier 'javadoc'
|
|
// from javadoc.destinationDir
|
|
//}
|