How did the compose Material icons get compiled in...
# compose
a
How did the compose Material icons get compiled into
ImageVector
? Currently our design system are all
Painter
loaded from the vector drawables.
a
Oh, great! Thanks
I hope Compose team publishes this tool in the future so we could pre-compile our own icon sets.
c
It should be pretty simple to pull down that project and integrate it as you need. You don’t need it to be published as a binary to use it.
👍 1
a
Ah, yeah! I meant so people could do that more easily. 🙏
c
Will the generated source code be packaged into
sources.jar
in the future? At present, it only packs the compiled classes into
aar
. Sometimes I want to view the source code of
Icons.**.**
, but it is obviously unable to do this at present.
s
a
@Chachako Compose for Desktop artifacts have always been packaged in jar. See https://mvnrepository.com/artifact/org.jetbrains.compose.material/material-icons-core/0.4.0-build184.
❤️ 1