'Kotlin inline extension function on an imported java class

I have a backend Springboot kotlin project built with gradle. I'm importing a number of java libraries. My target JVM is 11

I tried to write an inline reified extension function for one of the imported classes and got a compiler error "Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8"

Am I correct in understanding that the imported jar was built with JVM 1.8 and there isn't much I can do here?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source