rules_kotlin icon indicating copy to clipboard operation
rules_kotlin copied to clipboard

Experimental strict kotlin deps should support target exclusion

Open thomasbao12 opened this issue 2 years ago • 2 comments

We would like to enforce experimental strict kotlin deps, but we can't because it's non-trivial to get it to work for some targets.

I can provide further details, but I think adding a simple tag to disable strict deps for a specific target should be easy enough to support.

thomasbao12 avatar Oct 04 '23 20:10 thomasbao12

Are you referring to the new experimental transitive dependency pruning that was introduced in this PR?

https://github.com/bazelbuild/rules_kotlin/pull/842

Bencodes avatar Oct 04 '23 20:10 Bencodes

Have you tried using kt_experimental_prune_transitive_deps_incompatible?

lukaciko avatar Oct 18 '23 12:10 lukaciko