![]() And then adjust the package name and the imports appropriately. Instead of moving all files recursively, it would just move selected file and associated resources.It supported both Kotlin and Java files as more than 90% code base was in Kotlin.Also, it identified and moved the resources to destination module however it put those resources in the `build/generated` directory for some reason. When I invoked this tool, selected the destination module and clicked refactor, it identified the classes recursively that were used by the files I had selected and moved all those classes to selected destination module. So, if you intend to use this tool, you must only select the Java files. ![]() ![]() On playing around more with this, I found out that the “Modularize” refactor only supports the Java files and not the Kotlin files.
0 Comments
Leave a Reply. |