diff --git a/prepare/compiler/build.gradle.kts b/prepare/compiler/build.gradle.kts index 60ed7ec3f104a..1dacfb239f21b 100644 --- a/prepare/compiler/build.gradle.kts +++ b/prepare/compiler/build.gradle.kts @@ -236,7 +236,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 }