conductor-oss--conductor
a9cd7750f4
CI / unit-test (push) Has been cancelled
CI / detect-changes (push) Has been cancelled
CI / build (push) Has been cancelled
Publish docs via GitHub Pages / Deploy docs (push) Has been cancelled
CI / test-harness (push) Has been cancelled
CI / generate-e2e-matrix (push) Has been cancelled
CI / e2e (push) Has been cancelled
CI / build-ui (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
UI v2 Integration CI / E2E (Integration) (push) Has been cancelled
UI v2 CI / Lint, Format & Test (push) Has been cancelled
UI v2 CI / E2E (Mocked) (push) Has been cancelled
59 行
2.0 KiB
Groovy
59 行
2.0 KiB
Groovy
plugins {
|
|
id 'com.github.johnrengelman.shadow' version '7.0.0'
|
|
id 'java'
|
|
}
|
|
|
|
configurations {
|
|
// Prevent shaded dependencies from being published, while keeping them available to tests
|
|
shadow.extendsFrom compileOnly
|
|
testRuntime.extendsFrom compileOnly
|
|
}
|
|
|
|
// ES8 must not depend on the deprecated High Level REST Client (HLRC).
|
|
configurations.configureEach {
|
|
exclude group: 'org.elasticsearch.client', module: 'elasticsearch-rest-high-level-client'
|
|
}
|
|
|
|
// ES8 uses the Java API client.
|
|
ext['elasticsearch.version'] = revElasticSearch8
|
|
|
|
dependencies {
|
|
|
|
implementation project(':conductor-common')
|
|
implementation project(':conductor-core')
|
|
implementation project(':conductor-common-persistence')
|
|
|
|
compileOnly 'org.springframework.boot:spring-boot-starter'
|
|
compileOnly 'org.springframework.retry:spring-retry'
|
|
|
|
implementation "commons-io:commons-io:${revCommonsIo}"
|
|
implementation "org.apache.commons:commons-lang3"
|
|
implementation "com.google.guava:guava:${revGuava}"
|
|
|
|
implementation "com.fasterxml.jackson.core:jackson-databind"
|
|
implementation "com.fasterxml.jackson.core:jackson-core"
|
|
|
|
implementation "org.elasticsearch.client:elasticsearch-rest-client:${revElasticSearch8}"
|
|
implementation "co.elastic.clients:elasticsearch-java:${revElasticSearch8}"
|
|
|
|
testImplementation "net.java.dev.jna:jna:5.7.0"
|
|
testImplementation "org.awaitility:awaitility:${revAwaitility}"
|
|
testImplementation "org.testcontainers:elasticsearch:${revTestContainer}"
|
|
testImplementation project(':conductor-test-util').sourceSets.test.output
|
|
testImplementation 'org.springframework.retry:spring-retry'
|
|
|
|
}
|
|
|
|
// Drop the classifier and delete jar task actions to replace the regular jar artifact with the shadow artifact
|
|
shadowJar {
|
|
configurations = [project.configurations.shadow]
|
|
archiveClassifier = null
|
|
|
|
// Service files are not included by default.
|
|
mergeServiceFiles {
|
|
include 'META-INF/services/*'
|
|
include 'META-INF/maven/*'
|
|
}
|
|
}
|
|
jar.dependsOn shadowJar
|