https://kotlinlang.org logo
#compose
Title
# compose
s

salomonbrys

03/22/2024, 10:32 AM
Hi there ! I'm trying to configure the new Compose Resource system. Specifically, I would like to: • Add a directory to the resources : I have a Gradle task that downloads some files in the build directory, so ideally I'd like to do something like
kotlin { sourceSets.commonMain { composeResources.srcDirs("build/downloaded/composeResources") } }
• Configure the package in which the
Res
class is generated. I am building a template project and I would like the Res class to not be dependent on the name of the project should it change. Is that doable ?
a

Angga Ardinata

04/10/2024, 10:05 PM
are able to make the generated Res class public with new DSL config ?
2 Views