https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Mgj

08/04/2020, 2:07 PM
Anyone here used https://github.com/icerockdev/moko-resources ? It seems very neat, but i'm having issues adding it to my project. I get the error:
Copy code
A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'dev.icerock.mobile.multiplatform-resources']
   > Could not create plugin of type 'MultiplatformResourcesPlugin'.
      > Could not generate a decorated class for type MultiplatformResourcesPlugin.
         > org/jetbrains/kotlin/gradle/plugin/KotlinSourceSet
when i try to apply the plugin:
apply plugin: 'dev.icerock.mobile.multiplatform-resources'
I've tried moving it around in my gradle file, but no luck
n

Nick

08/04/2020, 2:26 PM
In their MVVM project, I ran into a lot of issues (a while ago). If i recall correctly, updating/downgrading gradle fixed it.
m

Mgj

08/04/2020, 4:50 PM
Yeah initially i wanted to use their MVVM project too but had to give up in the end
seems like they have a lot of good ideas but their implementations are not very robust...
10 Views