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?
Copyright © 2021 Jogjafile Inc.
The easiest way I found is to update the
pluginsblock in the build.gradle file. Remove'com.android.library'and add'java-library'and'org.jetbrains.kotlin.jvm'.