moko-resources icon indicating copy to clipboard operation
moko-resources copied to clipboard

Plugin not generating Strings

Open Deaths-Door opened this issue 2 years ago • 4 comments
trafficstars

I have got in module build.gradle

    id("dev.icerock.mobile.multiplatform-resources") //Version in settings.gradle
    multiplatformResources {
        multiplatformResourcesPackage = "com.deathsdoor.chillbackmusicplayer.resources"
    }

and in the root build.gradle


buildscript {
    repositories {
        google()
        gradlePluginPortal()
        mavenCentral()
    }
    dependencies {
        classpath("dev.icerock.moko:resources-generator:0.22.0")
    }
}

and also in commonMain/resources/MR/base.xml which is same as default one in doc . The build tasks runs but doesn't generate strings and in the generated files the dev.icerock.moko.... import is unresolved which leads to unable to build and run the project , how do i fix this , i followed the tutorial but i get this error

Deaths-Door avatar May 14 '23 20:05 Deaths-Door