Hi, does anyone know if I can actually use compose...
# multiplatform
m
Hi, does anyone know if I can actually use compose resources for a custom directory? I have the following file structure: (attached image) and for that module's build.gradle.kts I have this
Copy code
compose.resources {
  publicResClass = true
  customDirectory(
    sourceSetName = "main",
    directoryProvider = provider {
      project.layout.projectDirectory.dir("resources")
    },
  )
}
now I've imported this module (Module A) into another module (Module B) and I'm attempting to use the Theme in that Module B, in Module B I have a
main()
function that runs a desktop composable but I get an error saying that the fonts can't be found. However the gradle generation actually works as seen in the screenshot ex:
Copy code
Res.font.Lato_Regular
am I missing something? Please note that I am not using a typical compose-multiplatform file structure (composeApp/etc) my project structure looks like this
/libraries/modules
and
/projects/modules