Change resources folder name
is there a way I could change the folder name MR to like common or something else in gradle kts
@wakaztahir you can use multiplatformResourcesClassName attribute in gradle. Ie my config is as below
multiplatformResources {
multiplatformResourcesPackage = Modules.res.packageName
disableStaticFrameworkWarning = true
multiplatformResourcesClassName = Modules.res.frameworkName
}
I am not talking about generated class , I am talking about the folder in resources in common main which contains base
That would be really nice
I am not talking about generated class , I am talking about the folder in resources in common main which contains base
Yes, that would be nice.
At first, I understood that this was possible, according to the documentation:
resourcesSourceSets {
getByName("jvmMain").srcDirs(
File(projectDir, "customResources")
)
}
Note: I replaced "jvmMain" with "commonMain", but no resources was found under a "customResources" directory