From a300dee61f50bf3cfda6d9879f95acab3751a910 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Mon, 30 May 2016 19:06:12 +0300 Subject: [PATCH] Keep Native2AsciiCharsetProvider from being stripped by proguard #KT-12549 Fixed --- compiler/compiler.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler/compiler.pro b/compiler/compiler.pro index 22354ac4c9b..4014ab49967 100644 --- a/compiler/compiler.pro +++ b/compiler/compiler.pro @@ -112,6 +112,9 @@ messages/**) # for j2k -keep class com.intellij.codeInsight.NullableNotNullManager { public protected *; } +# for gradle (see KT-12549) +-keep class com.intellij.lang.properties.charset.Native2AsciiCharsetProvider { *; } + # for kotlin-build-common (consider repacking compiler together with kotlin-build-common and remove this part afterwards) -keep class com.intellij.util.io.IOUtil { public *; } -keep class com.intellij.openapi.util.io.FileUtil { public *; }