It would be really nice if Java applications using the schema registry did not have to pull in a bunch of kotlin dependencies just for these two classes.
Can those references be removed? Perhaps by creating similar Pair and IntRange classes in this library instead?
If references to those kotlin classes can't be removed, can they be made optional? For example, only reference them if kotlin is already on the classpath (and mark the maven dependencies on kotlin libraries as optional)
The schema registry submodules only have a few references to two kotlin types:
kotlin.Pair
kotlin.ranges.IntRange
This forces Java applications to transitively depend on a bunch of kotlin dependencies.
It would be really nice if Java applications using the schema registry did not have to pull in a bunch of kotlin dependencies just for these two classes.
Can those references be removed? Perhaps by creating similar
Pair
andIntRange
classes in this library instead?If references to those kotlin classes can't be removed, can they be made optional? For example, only reference them if kotlin is already on the classpath (and mark the maven dependencies on kotlin libraries as optional)