From 38c10244d34a4be5f15cd202bf15c1e8507995fe Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov <138671+Godin@users.noreply.github.com> Date: Wed, 9 Oct 2024 12:30:27 +0200 Subject: [PATCH] SONARKT-399 Fix shadowJar configuration This was overlooked during replacement of "kotlin-compiler-embeddable" by "kotlin-compiler" in d7a5cfd5b0a6d96fd23e25711cd2db5eca931c35. --- sonar-kotlin-plugin/build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sonar-kotlin-plugin/build.gradle.kts b/sonar-kotlin-plugin/build.gradle.kts index d0bac5a4a..7a4672cbf 100644 --- a/sonar-kotlin-plugin/build.gradle.kts +++ b/sonar-kotlin-plugin/build.gradle.kts @@ -96,10 +96,10 @@ val javadocJar = tasks.javadocJar tasks.shadowJar { minimize {} exclude("META-INF/native/**/*jansi*") - exclude("org/jetbrains/kotlin/org/jline/**") - exclude("org/jetbrains/kotlin/net/jpountz/**") + exclude("org/jline/**") + exclude("net/jpountz/**") doLast { - enforceJarSizeAndCheckContent(shadowJar.get().archiveFile.get().asFile, 38_100_000L, 38_600_000L) + enforceJarSizeAndCheckContent(shadowJar.get().archiveFile.get().asFile, 37_500_000L, 38_000_000L) } }