项目文件夹

文件
wehub-resource-sync 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
chore: import upstream snapshot with attribution
2026-07-13 12:37:56 +08:00

53 行
1.8 KiB
Groovy

plugins {
id 'com.gradleup.shadow' version '8.3.6'
id 'java'
}
configurations {
// Prevent shaded dependencies from being published, while keeping them available to tests
shadow.extendsFrom compileOnly
testRuntime.extendsFrom compileOnly
}
ext['elasticsearch.version'] = revElasticSearch7
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:${revElasticSearch7}"
implementation "org.elasticsearch.client:elasticsearch-rest-high-level-client:${revElasticSearch7}"
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