Kamel-Media / Kamel

Kotlin asynchronous media loading and caching library for Compose.
Apache License 2.0
636 stars 24 forks source link

Make heavyweight dependencies optional #89

Closed eskatos closed 8 months ago

eskatos commented 8 months ago

On the JVM platform, quite a lot of dependencies are brought in by default such as Batik.

It would be nice if these dependencies were optional and only supported if added by the developer.

For example, I don't need SVG support at all so I removed Batik with a Gradle exclude rule:

configurations {
    desktopMainImplementation {
        exclude(group = "org.apache.xmlgraphics")
    }
}
luca992 commented 8 months ago

yeah, that's on the todo list #51

eskatos commented 8 months ago

I didn't realize this was the same issue. Sorry for the noise. Looking forward to it

luca992 commented 7 months ago

@eskatos check out https://github.com/Kamel-Media/Kamel/releases/tag/1.0.0-beta.1 You can choose pick and choose almost all parts now.

https://github.com/Kamel-Media/Kamel/pull/96