diff --git a/prepare/compiler/build.gradle.kts b/prepare/compiler/build.gradle.kts index eddfe2ca9bcb3..ac68da46cac57 100644 --- a/prepare/compiler/build.gradle.kts +++ b/prepare/compiler/build.gradle.kts @@ -240,7 +240,8 @@ dependencies { fatJarContents(commonDependency("org.lz4:lz4-java")) { isTransitive = false } fatJarContents(commonDependency("org.jetbrains.intellij.deps:asm-all")) { isTransitive = false } fatJarContents(commonDependency("com.google.guava:guava")) { isTransitive = false } - fatJarContents(commonDependency("com.google.code.gson:gson")) { isTransitive = false} + //Gson is needed for kotlin-build-statistics. Build statistics could be enabled for JPS and Gradle builds. Gson will come from inteliij or KGP. + proguardLibraries(commonDependency("com.google.code.gson:gson")) { isTransitive = false} fatJarContentsStripServices(commonDependency("com.fasterxml:aalto-xml")) { isTransitive = false } fatJarContents(commonDependency("org.codehaus.woodstox:stax2-api")) { isTransitive = false }