I have removed the android library dependencies to some of the modules in my app and would like to convert these modules to pure 'java or kotlin' modules.
What is the best way to do this in Android Studio?
I have removed the android library dependencies to some of the modules in my app and would like to convert these modules to pure 'java or kotlin' modules.
What is the best way to do this in Android Studio?
The easiest way I found is to update the plugins
block in the build.gradle file. Remove 'com.android.library'
and add 'java-library'
and 'org.jetbrains.kotlin.jvm'
.