Kotlin / binary-compatibility-validator

Public API management tool
Apache License 2.0
800 stars 59 forks source link

Make KLib validation related tasks public #203

Closed fzhinkin closed 3 months ago

fzhinkin commented 6 months ago

Currently, all tasks required for klib validation are internal.

We should make these tasks public (and cleanup the API along the way), so those who can't directly apply our plugin could incorporate them into custom plugins without writing identical tasks using programmatic API.

aSemy commented 6 months ago

~Would you consider splitting them out into a separate subproject? It would help with making the Gradle Plugin more idiomatic, being able to test them in isolation, and keeping user's build script classpaths cleaner.~

~Currently BCV leaks all its dependencies required for KLib validation into the build script classpath, but the KLib validation is only required during task execution, not during build configuration.~

UPDATE Never mind, I misread. I thought this issue was about making the kotlinx.validation.api.klib.* classes public.