Files
conductor-oss--conductor/springboot-bom-overrides.gradle
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

40 lines
2.0 KiB
Groovy

/*
* Copyright 2023 Conductor authors
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
// Contains overrides for Spring Boot Dependency Management plugin
// Dependency version override properties can be found at https://docs.spring.io/spring-boot/docs/3.3.11/reference/htmlsingle/#appendix.dependency-versions.properties
// Conductor's default is ES6, but SB brings in ES7
ext['elasticsearch.version'] = revElasticSearch7
// When building with ES8 persistence, override Spring Boot's managed Elasticsearch versions.
// Spring Boot 3.3.x manages `org.elasticsearch.client:elasticsearch-rest-client` via
// `elasticsearch.version` and `co.elastic.clients:elasticsearch-java` via
// `elasticsearch-client.version`.
def indexingBackend = findProperty('indexingBackend') ?: 'elasticsearch'
if (indexingBackend == 'elasticsearch8' || indexingBackend == 'es8') {
ext['elasticsearch.version'] = revElasticSearch8
ext['elasticsearch-client.version'] = revElasticSearch8
}
// SB brings groovy 3.0.x which is not compatible with Spock
ext['groovy.version'] = revGroovy
// Keep Testcontainers aligned across modules instead of Spring Boot BOM defaults.
ext['testcontainers.version'] = revTestContainer
// Prevent Spring Boot BOM from downgrading Jedis. Modules that need jedis depend on
// conductor-redis-api (which declares jedis as 'api'), and without this override the
// dependency-management plugin would resolve the BOM version instead of 6.0.0.
ext['jedis.version'] = revJedis