Exclude .kotlin_builtins files when proguarding kotlin-reflect.jar

Even though kotlin-annotations-jvm.jar itself doesn't contain those
files, ProGuard pulls them from the project dependency of
:kotlin-annotations-jvm on :core:builtins. They are already present in
kotlin-stdlib.jar and are thus not needed in kotlin-reflect.jar
This commit is contained in:
Alexander Udalov
2019-03-28 15:33:25 +01:00
parent 81e84fb62e
commit a9de157fd4
+1 -1
View File
@@ -143,7 +143,7 @@ val proguard by task<ProGuardTask> {
outputs.file(proguardOutput)
injars(mapOf("filter" to "!META-INF/versions/**"), stripMetadata.outputs.files)
injars(mapOf("filter" to "!META-INF/**"), proguardAdditionalInJars)
injars(mapOf("filter" to "!META-INF/**,!**/*.kotlin_builtins"), proguardAdditionalInJars)
outjars(proguardOutput)
libraryjars(mapOf("filter" to "!META-INF/versions/**"), proguardDeps)