Move to the official bazel worker api (with workspace support)
Continuation of https://github.com/bazelbuild/rules_kotlin/pull/1218
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
For context behind why I never merged the worker API changes - The worker impl. that Google released only supports Bzlmod and does not support workspace files, so we'd have to maintain that scaffolding ourselves until we decide to fully cut WORKSPACE support (we can have that discussion).
Didn't seem worth it to make local development and external developer overrides more complicated for our remaining WORKSPACE users with not much actual benefit.