Hi, I have one Java file that can't be converted to Kotlin due to Kotlin limitation (hiding a java field in a subclass by using the same name), and I'd like to migrate the library having this class to the Kotlin multiplatform plugin (even though I would just publish for Android for that module). Is there a way to add java compilation for this file so it's included in the final aar?
j
josephivie
02/13/2019, 9:37 PM
This is kinda nuts, but for the
android
compilation you could probably unzip the main
aar
as a
jar
, insert your file wherever it goes, and then rezip it, and include it in the distribution.