rules_kotlin icon indicating copy to clipboard operation
rules_kotlin copied to clipboard

Move usage specific rules into sub repositories.

Open restingbull opened this issue 4 years ago • 0 comments

This will allow decomposing the current monolithic module into multiple parts and avoid loading unused dependencies such as js when only building jvm, or android when building js.

It also simplifies the recursive downloading step -- when enabled the sub-module can be downloaded with any dependencies.

Steps:

  1. Deprecate access through //kotlin:kotlin.bzl for js, jvm, android, and ktlint rules.
  2. Remove access
  3. Move rule definitions to _ repositories in release archive
  4. Configure repository creating via kt_repositories, which should also add the //kotlin/<type>.bzl file when enabled.

restingbull avatar Jul 19 '21 18:07 restingbull