Skip to content

Commit

Permalink
SONARKT-399 Fix shadowJar configuration
Browse files Browse the repository at this point in the history
This was overlooked during replacement of
"kotlin-compiler-embeddable" by "kotlin-compiler"
in d7a5cfd.
  • Loading branch information
Godin authored Oct 9, 2024
1 parent 81c9a59 commit 38c1024
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sonar-kotlin-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 38c1024

Please sign in to comment.