title: How do I run Kotlin libraries ( distributed via JitPack ) in a Java file?
body: <p>I have developed a library <a href="https://github.com/shubham0204/Text2Summary-Android" rel="nofollow noreferrer">Text2Summar</a>y for Android which is written using Kotlin. I am distributing this library using <a href="https://jitpack.io/docs/ANDROID/" rel="nofollow noreferrer">JitPack</a> and the building process goes perfectly fine.</p>
  
  <p>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 <strong>cannot resolve symbol Text2Summary</strong>.</p>
  
  <blockquote>
    <p>I have written the whole library in Kotlin and developers not using Kotlin are complaining about the same <strong>cannot resolve symbol Text2Summary</strong> error. Should I simply convert the Kotlin code back to Java code or should I tell the users to enable Kotlin by <code>apply plugin 'kotlin'</code>? A valid explanation will be helpful too.</p>
  </blockquote>