From ec05deab40e23ee38310779ff37e29af7ce901ce Mon Sep 17 00:00:00 2001 From: YannC Date: Wed, 7 Aug 2024 09:32:02 +0200 Subject: [PATCH] fix: Jackson version from Kestra platform --- build.gradle | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 55d3f94..7965105 100644 --- a/build.gradle +++ b/build.gradle @@ -50,8 +50,34 @@ dependencies { // azure api platform("com.azure:azure-sdk-bom:1.2.22") - api group: 'com.azure', name: 'azure-identity' - api group: 'com.azure', name: 'azure-storage-blob' + api (group: 'com.azure', name: 'azure-identity') { + // excluded from the driver and included manually after to take the version from the platform + exclude group: 'com.fasterxml.jackson.core' + exclude group: 'com.fasterxml.jackson.datatype' + exclude group: 'com.fasterxml.jackson.dataformat' + } + api (group: 'com.azure', name: 'azure-storage-blob') { + // excluded from the driver and included manually after to take the version from the platform + exclude group: 'com.fasterxml.jackson.core' + exclude group: 'com.fasterxml.jackson.datatype' + exclude group: 'com.fasterxml.jackson.dataformat' + } + api (group: 'com.microsoft.azure', name: 'azure-storage', version: '8.6.6') { + // excluded from the driver and included manually after to take the version from the platform + exclude group: 'com.fasterxml.jackson.core' + exclude group: 'com.fasterxml.jackson.datatype' + exclude group: 'com.fasterxml.jackson.dataformat' + } + + // this will enforce Jackson to the version defined in the Platform + api group: 'com.fasterxml.jackson.core', name: 'jackson-annotations' + api group: 'com.fasterxml.jackson.core', name: 'jackson-core' + api group: 'com.fasterxml.jackson.core', name: 'jackson-databind' + api group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-xml' + api group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8' + api group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310' + api group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-joda' + api group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-guava' }