rules_kotlin should migrate off @bazel_tools//tools/java:java_stub_template.txt
#1267
Labels
@bazel_tools//tools/java:java_stub_template.txt
#1267
It's used in a couple of places
rules_kotlin/src/main/starlark/core/compile/cli/toolchain.bzl
Line 74 in 096170f
rules_kotlin/kotlin/internal/jvm/jvm.bzl
Line 139 in 096170f
The template now lives in
@rules_java
and in Bazel@HEAD the target in@bazel_tools
is just a redirect. Given that the template is no longer versioned with Bazel, it can no longer be considered stable, and the Bazel team is looking to make bazel_tools empty in future releases anyway.The code expanding the template must remain in sync with the template, the recommendation is to fork the template and maintain a local copy that matches the template expansion code. This will enable rulesets to evolve independently and keep the template always in sync with the rule code.
The text was updated successfully, but these errors were encountered: