This is an automated email from the ASF dual-hosted git repository.

ibessonov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 1a0f444e2a IGNITE-18563 Reduce the list of duplicated jar dependencies 
(#1534)
1a0f444e2a is described below

commit 1a0f444e2aca291a765a4c05b0fb5a9034216976
Author: Ivan Bessonov <[email protected]>
AuthorDate: Tue Jan 17 14:56:52 2023 +0300

    IGNITE-18563 Reduce the list of duplicated jar dependencies (#1534)
---
 build.gradle                    | 2 ++
 gradle/libs.versions.toml       | 6 +++---
 modules/runner/build.gradle     | 6 +++++-
 modules/sql-engine/build.gradle | 6 +++++-
 4 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/build.gradle b/build.gradle
index 86484f9a80..30c5f9166f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -120,4 +120,6 @@ subprojects {
             }
         }
     }
+
+    tasks.register('printSubDependencies', DependencyReportTask)
 }
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index e3ad2e1317..de9d67aa59 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -17,7 +17,7 @@
 
 [versions]
 assertj = "3.22.0"
-asm = "9.0"
+asm = "9.1"
 compileTesting = "0.19"
 fliptables = "1.1.0"
 jackson = "2.13.1"
@@ -29,7 +29,7 @@ javax = "1.3.2"
 jetbrainsAnnotations = "20.1.0"
 jline = "3.21.0"
 jmh = "1.35"
-junit5 = "5.8.1"
+junit5 = "5.8.2"
 jsr305 = "3.0.2"
 okhttp = "4.9.1"
 gson = "2.8.9"
@@ -68,7 +68,7 @@ kryo = "4.0.1"
 bytebuddy = "1.12.8"
 mockServer = "5.13.2"
 archunit = "0.23.1"
-testkit = "1.8.1"
+testkit = "1.8.2"
 openapi = "3.2.0"
 autoService = "1.0.1"
 awaitility = "4.2.0"
diff --git a/modules/runner/build.gradle b/modules/runner/build.gradle
index 8672fe8b63..09fb955754 100644
--- a/modules/runner/build.gradle
+++ b/modules/runner/build.gradle
@@ -83,7 +83,11 @@ dependencies {
     testImplementation libs.hamcrest.path
     testImplementation libs.mockito.core
     testImplementation libs.mockito.junit
-    testImplementation libs.jsonpath.assert
+    testImplementation(libs.jsonpath.assert) {
+        //IDEA test runner doesn't apply Gradle dependency resolve strategy, 
this is just not implemented
+        //So, exclude asm-core transitive dependency to protect of jar-hell.
+        exclude group: 'org.ow2.asm', module: 'asm'
+    }
     testImplementation libs.auto.service.annotations
 
     integrationTestAnnotationProcessor 
project(':ignite-configuration-annotation-processor')
diff --git a/modules/sql-engine/build.gradle b/modules/sql-engine/build.gradle
index 117e58d885..52554028c4 100644
--- a/modules/sql-engine/build.gradle
+++ b/modules/sql-engine/build.gradle
@@ -45,7 +45,11 @@ dependencies {
     implementation libs.jackson.core
     implementation libs.jackson.databind
     implementation libs.jackson.annotations
-    implementation libs.jsonpath.core
+    implementation(libs.jsonpath.core) {
+        //IDEA test runner doesn't apply Gradle dependency resolve strategy, 
this is just not implemented
+        //So, exclude asm-core transitive dependency to protect of jar-hell.
+        exclude group: 'org.ow2.asm', module: 'asm'
+    }
     implementation libs.classgraph
     implementation libs.javassist
     implementation libs.checker.qual

Reply via email to