I have developed a library Text2Summary for Android which is written using Kotlin. I am distributing this library using JitPack and the building process goes perfectly fine.
Now, in a Kotlin-enabled Android project, I am able to import the classes available in the library. This is not the case in a project which only has Java ( no Kotlin configured ). Here, Android Studio simply complains that cannot resolve symbol Text2Summary.
I have written the whole library in Kotlin and developers not using Kotlin are complaining about the same cannot resolve symbol Text2Summary error. Should I simply convert the Kotlin code back to Java code or should I tell the users to enable Kotlin by
apply plugin 'kotlin'
? A valid explanation will be helpful too.