rules_kotlin
rules_kotlin copied to clipboard
Move usage specific rules into sub repositories.
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:
- Deprecate access through
//kotlin:kotlin.bzlfor js, jvm, android, and ktlint rules. - Remove access
- Move rule definitions to
_ repositories in release archive - Configure repository creating via
kt_repositories, which should also add the//kotlin/<type>.bzlfile when enabled.