Kamel-Media / Kamel

Kotlin asynchronous media loading and caching library for Compose.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make heavyweight dependencies optional

eskatos opened this issue · comments

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")
    }
}

yeah, that's on the todo list #51

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

@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.

#96