micko
01/27/2025, 5:19 PMcompose.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:
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