2024-11-20 00:13:24 +01:00
|
|
|
apply plugin: 'java-library'
|
2024-12-14 17:04:48 +01:00
|
|
|
apply plugin: 'com.gradleup.shadow'
|
2024-03-01 16:31:21 +01:00
|
|
|
apply plugin: 'signing'
|
|
|
|
apply plugin: 'maven-publish'
|
2024-12-03 06:57:43 +05:30
|
|
|
apply from: '../../../gradle/coverage/java-coverage.gradle'
|
2024-03-01 16:31:21 +01:00
|
|
|
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
|
|
|
|
|
2024-07-11 10:52:58 -05:00
|
|
|
testImplementation externalDependency.testng
|
2024-03-01 16:31:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
forkEvery = 1
|
|
|
|
useJUnit()
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnit()
|
2024-12-03 06:57:43 +05:30
|
|
|
useTestNG()
|
2024-03-01 16:31:21 +01:00
|
|
|
}
|
2024-12-03 06:57:43 +05:30
|
|
|
|
2024-08-27 20:51:58 +05:30
|
|
|
shadowJar {
|
|
|
|
zip64 = true
|
|
|
|
archiveClassifier = ''
|
|
|
|
exclude('log4j2.*', 'log4j.*')
|
|
|
|
}
|
2024-03-01 16:31:21 +01:00
|
|
|
|
2024-08-30 14:54:49 -05:00
|
|
|
jar {
|
|
|
|
archiveClassifier = 'lib'
|
|
|
|
}
|
|
|
|
|
2024-03-01 16:31:21 +01:00
|
|
|
//task sourcesJar(type: Jar) {
|
|
|
|
// classifier 'sources'
|
|
|
|
// from sourceSets.main.allJava
|
|
|
|
//}
|
|
|
|
|
|
|
|
//task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
|
|
// classifier 'javadoc'
|
|
|
|
// from javadoc.destinationDir
|
|
|
|
//}
|