Delete temporary proguard configuration for gradle, change the primary one.

This commit is contained in:
Ilya Gorbunov
2017-04-07 18:04:21 +03:00
parent 5aff64078c
commit f5647fb27f
3 changed files with 1 additions and 37 deletions
-30
View File
@@ -1,30 +0,0 @@
-dontnote **
-target 1.6
-dontoptimize
-dontobfuscate
# -dontshrink
-keep public class kotlin.reflect.* { *; }
-keep public class kotlin.reflect.jvm.* { *; }
-keep public class kotlin.reflect.full.* { *; }
-keepattributes SourceFile,LineNumberTable,InnerClasses,Signature,Deprecated,*Annotation*,EnclosingMethod
-keep class kotlin.reflect.jvm.internal.ReflectionFactoryImpl { public protected *; }
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keepclassmembers class * {
** toString();
}
# For tests on HashPMap, see compiler/testData/codegen/box/hashPMap
-keepclassmembers class kotlin.reflect.jvm.internal.pcollections.HashPMap {
public int size();
public boolean containsKey(java.lang.Object);
public kotlin.reflect.jvm.internal.pcollections.HashPMap minus(java.lang.Object);
}
-6
View File
@@ -1,11 +1,5 @@
-injars '<output>/kotlin-reflect-before-proguard.jar'
-outjars '<kotlin-home>/lib/kotlin-reflect.jar'
-dontnote **
-libraryjars '<rtjar>'
-libraryjars '<kotlin-home>/lib/kotlin-runtime.jar'
-target 1.6
-dontoptimize
-dontobfuscate
+1 -1
View File
@@ -128,7 +128,7 @@ task proguard(type: proguard.gradle.ProGuardTask) {
libraryjars configurations.proguardDeps.files
libraryjars rtJar
configuration "${core}/reflection.jvm/reflection.gradle.pro"
configuration "${core}/reflection.jvm/reflection.pro"
}