Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove kotlin directory from APK #283

Open
emanuelb opened this issue Aug 28, 2020 · 0 comments
Open

Remove kotlin directory from APK #283

emanuelb opened this issue Aug 28, 2020 · 0 comments

Comments

@emanuelb
Copy link

The kotlin directory in the APK is probably not needed (unless reflection is used with kotlin-reflect), see for more info at:
https://youtrack.jetbrains.com/issue/KT-9770

/hamagen-v2.2.14/kotlin$ ls
ArithmeticException.kotlin_metadata              IllegalStateException.kotlin_metadata         NumbersKt.kotlin_metadata            UByteArrayKt.kotlin_metadata         UShortArrayKt.kotlin_metadata                         internal
AssertionError.kotlin_metadata                   IndexOutOfBoundsException.kotlin_metadata     OptionalExpectation.kotlin_metadata  UByteKt.kotlin_metadata              UShortKt.kotlin_metadata                              io
BuilderInference.kotlin_metadata                 InitializedLazyImpl.kotlin_metadata           Pair.kotlin_metadata                 UInt.kotlin_metadata                 UninitializedPropertyAccessException.kotlin_metadata  js
ClassCastException.kotlin_metadata               KotlinHKt.kotlin_metadata                     PreconditionsKt.kotlin_metadata      UIntArray.kotlin_metadata            UnsafeLazyImpl.kotlin_metadata                        jvm
Comparator.kotlin_metadata                       KotlinVersion.kotlin_metadata                 Result.kotlin_metadata               UIntArrayKt.kotlin_metadata          UnsignedUtilsKt.kotlin_metadata                       kotlin.kotlin_builtins
ConcurrentModificationException.kotlin_metadata  LateinitKt.kotlin_metadata                    ResultKt.kotlin_metadata             UIntKt.kotlin_metadata               UnsupportedOperationException.kotlin_metadata         math
Error.kotlin_metadata                            Lazy.kotlin_metadata                          RuntimeException.kotlin_metadata     ULong.kotlin_metadata                UseExperimental.kotlin_metadata                       native
Exception.kotlin_metadata                        LazyKt.kotlin_metadata                        StandardKt.kotlin_metadata           ULongArray.kotlin_metadata           WasExperimental.kotlin_metadata                       properties
Experimental.kotlin_metadata                     LazyThreadSafetyMode.kotlin_metadata          SuccessOrFailureKt.kotlin_metadata   ULongArrayKt.kotlin_metadata         annotation                                            random
ExperimentalMultiplatform.kotlin_metadata        NoSuchElementException.kotlin_metadata        SuspendKt.kotlin_metadata            ULongKt.kotlin_metadata              collections                                           ranges
ExperimentalStdlibApi.kotlin_metadata            NoWhenBranchMatchedException.kotlin_metadata  Triple.kotlin_metadata               UNINITIALIZED_VALUE.kotlin_metadata  comparisons                                           reflect
ExperimentalUnsignedTypes.kotlin_metadata        NotImplementedError.kotlin_metadata           TuplesKt.kotlin_metadata             UNumbersKt.kotlin_metadata           contracts                                             sequences
HashCodeKt.kotlin_metadata                       NullPointerException.kotlin_metadata          UByte.kotlin_metadata                UShort.kotlin_metadata               coroutines                                            text
IllegalArgumentException.kotlin_metadata         NumberFormatException.kotlin_metadata         UByteArray.kotlin_metadata           UShortArray.kotlin_metadata          experimental                                          time

it can be removed by using exclude of kotlin directory under packagingOptions in build.gradle at:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant