Valkyrie icon indicating copy to clipboard operation
Valkyrie copied to clipboard

Consider extending to support Gradle plugin

Open Goooler opened this issue 1 year ago • 6 comments

Based on #25, we can split this project into 4 main parts:

  • Core projects.
  • CLI project.
  • Gradle plugin project.
  • IntelliJ plugin project.

This structure is similar to the layout of https://github.com/detekt/detekt.

Related feature request in https://github.com/DevSrSouza/svg-to-compose/issues/27.

Goooler avatar Jul 21 '24 02:07 Goooler

I would love to have a gradle plugin that I could configure to re-generate the IconPack from a drawable folder within a Android library/app module when the library/app module is built. I would just need the ability to specify a specific format for the drawable name (ie. ic_icon_name_filled.xml) and then along with some other configuration for the icon pack it could generate me the ImageVector that's accessible at something like Icons.Filled.IconName.

dptsolutions avatar Aug 20 '24 19:08 dptsolutions

@dptsolutions Why do you need to regenerate icons during build?

egorikftp avatar Nov 19 '24 06:11 egorikftp

@egorikftp mainly because of automation. The IDE plugin is great for local development, but I'd like it to be fully automated in CI so that if another dev doesn't have the plugin, forgets to run it, whatever, the gradle plugin can scan my XML drawables and generate the ImageVectors in CI.

dptsolutions avatar Nov 19 '24 17:11 dptsolutions

Will take this feature next, target version 0.12.0

UPD: under development now

egorikftp avatar Nov 27 '24 13:11 egorikftp

@egorikftp Was the Gradle plugin released? Seems not.

efemoney avatar Apr 09 '25 05:04 efemoney

@egorikftp Was the Gradle plugin released? Seems not.

Not yet

egorikftp avatar Apr 09 '25 14:04 egorikftp