Remove dependency on kotlin-reflect
#142
Labels
type: chore
Involves routine, non-critical, or housekeeping work, contributing to project maintenance.
kotlin-reflect
#142
Module
Other
📝 Description
kotlin-reflect
is transitively included viajackson-module-kotlin
dependency, which is used only in a few cases. Removing this dependency will lower the size of our jars by ~3mb. The only two modules that need / can include the reflect library areethers-abigen
andethers-abigen-plugin
.jackson-module-kotlin
dependency fromjackson
gradle bundleRpcError
classJsonProperty
annotation on most other classes that will breakAbiType.Tuple.struct(KClass, varargs AbiType)
function, add and replace it withstruct(Class, StructFactory, varargs AbiType)
in abigen contracts. Will need to explicitly define dependency onkotlin-reflect
for now and remove it when deprecated functions are removed.The text was updated successfully, but these errors were encountered: