kdoctor
kdoctor copied to clipboard
Rename KMM to KMP
Since Kotlin Multiplatform Mobile (KMM) has been renamed to Kotlin Multiplatform (KMP) source
I renamed everything from KMM and Kotlin multiplatform mobile to KMP and Kotlin multiplatform without affecting the logic, just labeling that is all
because we can't rename everything since the plugin in Android studio is still called KMM so I didn't rename it, yet
Example of running in a successful state:
Before
./kdoctor
Environment diagnose (to see all details, use -v option):
[✓] Operation System
[✓] Java
[✓] Android Studio
[✓] Xcode
[✓] CocoaPods
Conclusion:
✓ Your operation system is ready for Kotlin Multiplatform Mobile Development!
After
./kdoctor
Environment diagnose (to see all details, use -v option):
[✓] Operation System
[✓] Java
[✓] Android Studio
[✓] Xcode
[✓] CocoaPods
Conclusion:
✓ Your operation system is ready for Kotlin Multiplatform Development!
I also updated the README.md and the tests and the other messages
I also change one additional thing which is not related to the subject
Before
Shell.values().firstOrNull { it.path == shellPath }
After
Shell.entries.firstOrNull { it.path == shellPath }
Since in Kotlin 1.9.0, it's recommended to use entries instead of values() in enum classes
there is one thing but I didn't change it
the diagnose should be diagnosis
it doesn't make much difference at least to me so I didn't update it
kdoctor 1.1.0 Kotlin Multiplatform Mobile Plugin: not installed
We need this PR to be merged. Since KMP plugin has been renamed, KDoctor always fails to find the plugin attached to the Android Studio
Hello everyone,
This bug is still affecting all installations of kdoctor that use the current plugin. I strongly encourage merging this PR.
@terrakok can this be merged for the love of programming!
KDoctor doesn't recognise KMM plugin in android studio.
How long till we get a fix for this?
We need this PR to be merged.
For backward compatibility, I didn't rename the plugin id from kmm to kmp at the time of this PR and left a TODO since it will break eventually.
Now the plugin id has been renamed, we should update this PR to use kmp and remove the TODO.
Still not merged, 😭
I don't think you will need kdoctor anymore. The functionality of kdoctot is now built-in as part of the KMP plugin.