That doesn't seem right + a lot of projects are configured to not use star imports
👀 1
➕ 7
🙏 1
j
Joel Denke
02/19/2024, 12:04 PM
Hehe I love that I update to latest release before its announced 😄 I reacted as well on the star imports, as I think collide with default Kotlin guidelines even. Curious how come need to do this, but I presume they shifted from object static constants or such to public variables decoupled from Res class now. Havent checked source code yet.
➕ 1
Joel Denke
02/19/2024, 12:05 PM
One nice thing seems to be fixed now, but not mentioned in release, is all gradle lint release tasks gave errors, now doesnt anymore. Doing clean rebuild works much better, and also faster. So thats nice 🙂
Joel Denke
02/19/2024, 12:10 PM
@eygraber Ah ok, seems like they created strings, drawable and such in separate files now, with extension member like this:
Copy code
@ExperimentalResourceApi
internal val Res.drawable.compose_multiplatform: DrawableResource
get() = Drawable0.compose_multiplatform
Before they were all inside Res class 🙂
👍 1
i
Igor Demin
02/21/2024, 4:22 PM
Wildcard usage was described as the fastest way to adapt your code, not as the requirement. We changed the wording.