Skip to content

Commit 7bab2db

Browse files
committed
Remove gson from compiler fat jar
KT-56438: Fixed (cherry picked from commit 6263b67)
1 parent b925404 commit 7bab2db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

prepare/compiler/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,8 @@ dependencies {
236236
fatJarContents(commonDependency("org.lz4:lz4-java")) { isTransitive = false }
237237
fatJarContents(commonDependency("org.jetbrains.intellij.deps:asm-all")) { isTransitive = false }
238238
fatJarContents(commonDependency("com.google.guava:guava")) { isTransitive = false }
239-
fatJarContents(commonDependency("com.google.code.gson:gson")) { isTransitive = false}
239+
//Gson is needed for kotlin-build-statistics. Build statistics could be enabled for JPS and Gradle builds. Gson will come from inteliij or KGP.
240+
proguardLibraries(commonDependency("com.google.code.gson:gson")) { isTransitive = false}
240241

241242
fatJarContentsStripServices(commonDependency("com.fasterxml:aalto-xml")) { isTransitive = false }
242243
fatJarContents(commonDependency("org.codehaus.woodstox:stax2-api")) { isTransitive = false }

0 commit comments

Comments
 (0)