bazelbuild / rules_kotlin

Bazel rules for Kotlin
Apache License 2.0
328 stars 205 forks source link

Remove legacy struct providers #1157

Closed comius closed 2 months ago

comius commented 3 months ago

Legacy struct providers have been deprecated by Bazel. Replacing them with modern providers, will make it possible to simplify and remove legacy handling from Bazel.

More info on: https://bazel.build/extending/rules#migrating_from_legacy_providers Issue: https://github.com/bazelbuild/bazel/issues/19467

comius commented 3 months ago

This is not yet complete cleanup, because rules_kotlin depend on an old release containing .bzl code. To do the full cleanup, this needs to be released, version repinned and then released again.

The change was tested by running tests with --incompatible_disallow_struct_provider_syntax