Stefan Oltmann
02/29/2024, 8:31 AMcommonMain/composeResources/drawable
, but there is no Res
class generated.mohamed rejeb
02/29/2024, 8:48 AMcompose.components.resources
dependency is added to that exact module, and that module is your executable module or the main module that will be directly imported by your executable app.Stefan Oltmann
02/29/2024, 8:49 AM@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
api(compose.components.resources)
Stefan Oltmann
02/29/2024, 8:50 AMmohamed rejeb
02/29/2024, 8:52 AMStefan Oltmann
02/29/2024, 9:03 AMIvan Matkov
02/29/2024, 9:19 AMKonstantin Tskhovrebov
02/29/2024, 9:23 AMStefan Oltmann
02/29/2024, 9:24 AMKonstantin Tskhovrebov
02/29/2024, 9:24 AM./gradlew generateComposeResClass -i
output? and the build.gradle.kts
fileKonstantin Tskhovrebov
02/29/2024, 9:28 AMStefan Oltmann
02/29/2024, 9:28 AMKonstantin Tskhovrebov
02/29/2024, 9:30 AMStefan Oltmann
02/29/2024, 9:34 AMStefan Oltmann
02/29/2024, 9:52 AMimplementation(compose.components.resources)
for code-gen to work, not api(compose.components.resources)
Dragos Rachieru
03/01/2024, 12:36 PMStefan Oltmann
03/01/2024, 12:37 PMKonstantin Tskhovrebov
03/01/2024, 12:41 PMStefan Oltmann
03/01/2024, 12:42 PMTried that, but it's not working. I guess I need to wait for Compose 1.6.1 π€·ββοΈπ I was right in the end. π
Konstantin Tskhovrebov
03/01/2024, 2:56 PMStefan Oltmann
03/01/2024, 2:59 PM