From c9386c1533408869ba9e0abf3a0cc12096fc57e3 Mon Sep 17 00:00:00 2001 From: Stephane Bouchet Date: Fri, 18 Oct 2024 11:07:49 +0200 Subject: [PATCH] chore: migrate build to 2024.2 updated commons to 1.9.7-snapshot and use workaround provided by @AlexanderBartash Signed-off-by: Stephane Bouchet --- build.gradle.kts | 10 ++++++++++ gradle/libs.versions.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index db5a1e922..14f8499e7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -71,6 +71,16 @@ dependencies { testImplementation(libs.mockito.kotlin) testImplementation(libs.kotlin.test.junit) + components { + withModule("com.redhat.devtools.intellij:intellij-common") { + withVariant("intellijPlatformComposedJar") { + attributes { + attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.JAR)) + } + } + } + } + } intellijPlatform { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5b4c76874..bf5c1acc7 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] # libraries kubernetes-client = "6.12.0" -devtools-common = "1.9.6" +devtools-common = "1.9.7-SNAPSHOT" jackson-core = "2.17.0" commons-lang3 = "3.12.0" assertj-core = "3.22.0"