Delete temporary proguard configuration for gradle, change the primary one.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user