f0cb9cdb95
* [bazel] Move Java runtime/toolchains into //java This change moves `java_library` targets from the top-level BUILD file into `//java/{core,lite,util}` and declares `alias` targets to point to their new locations (hence, this is not a breaking change). This will allow users that don't use Java to stop depending on `@rules_java` (e.g. as requested in https://github.com/bazelbuild/rules_scala/pull/989#issuecomment-583405161). Note that there is no intention to deprecate + remove the top-level targets in the foreseeable future. * Add BUILD files in //java to java_EXTRA_DIST
15 lines
324 B
Python
15 lines
324 B
Python
load("@rules_proto//proto:defs.bzl", "proto_lang_toolchain")
|
|
|
|
alias(
|
|
name = "lite",
|
|
actual = "//java/core:lite",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
proto_lang_toolchain(
|
|
name = "toolchain",
|
|
command_line = "--java_out=lite:$(OUT)",
|
|
runtime = ":lite",
|
|
visibility = ["//visibility:public"],
|
|
)
|