Closed rsavutiu closed 2 months ago
I fixed it myself: I opened the sample(example) app in this repo in Android Studio Koala, I checked that it worked (it does) and then I diligently copied every plugin and dependency (version too) from the shared kts build file to my own project.
Ktorfit version
2.0.0
What happened and how can we reproduce this issue?
If I do not apply the plugin to the shared library common code:
Instance creation error : could not create instance for '[Singleton:'com........DOT.....DOT.....APIInterface']': java.lang.IllegalArgumentException: You need to enable the Ktorfit Gradle Plugin
If I apply the plugin: Extension with name 'kotlin' does not exist. Currently registered extension names: [ext, libs, versionCatalogs, projects, ksp, ktorfit]
I have read it may have something to do with moko, but I am unsure how that could be, it seems to be a version issue with AGP. Here are the shared library plugins:
Full error trace when applying the plugin:
What did you expect to happen?
build compile and run working properly.
Is there anything else we need to know about?
No response