Hello everyone, I came across the new <resources A...
# compose
c
Hello everyone, I came across the new resources API. Does someone know if there is API for it in gradle? I want to change the package name because right now it uses the root folder's name as part of the package name.
k
the feature will be available in 1.6.10 release
c
Thanks! Yes, I just came across it. I can see that with
1.6.10-dev1575
I can access it through
Copy code
compose.resources {
}
😄
For anyone who is interested. If you want to change the package name for generated resources, you can use the
packageOfResClass
property:
Copy code
compose.resources {
    packageOfResClass = "..."
}
https://github.com/JetBrains/compose-multiplatform/blob/f0c1094dc4e8a8f2d1d37397df[…]src/main/kotlin/org/jetbrains/compose/resources/ResourcesDSL.kt
❤️ 1
k
How can we do this before 1.6.10 @CRamsan @Konstantin Tskhovrebov any other workaround ?
Simply want to use compose.resources before 1.6.10